summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-21 14:56:39 +0300
commitf04b54e3fc162d475e8688784631a316f264f733 (patch)
tree5feed9526e1c2acac25942f39f68713b8ccb9d1d /protocols/VKontakte/src/misc.cpp
parentec8a7614a371f41937dc1dbc2d53289e45706e3a (diff)
Clist_RemoveEvent became static, pfnRemoveEvent is replaced with pfnFreeEvent
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index bd918b7b93..7e2d06bf90 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -818,9 +818,9 @@ void CVkProto::MarkDialogAsRead(MCONTACT hContact)
DBEVENTINFO dbei = {};
if (!db_event_get(hDBEvent, &dbei) && !mir_strcmp(m_szModuleName, dbei.szModule)) {
db_event_markRead(hContact, hDBEvent, true);
- g_clistApi.pfnRemoveEvent(hMContact, hDBEvent);
+ Clist_RemoveEvent(hMContact, hDBEvent);
if (hContact != hMContact)
- g_clistApi.pfnRemoveEvent(hContact, hDBEvent);
+ Clist_RemoveEvent(hContact, hDBEvent);
}
hDBEvent = db_event_next(hContact, hDBEvent);