summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-27 20:23:20 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-27 20:23:20 +0300
commitd18fdf58c517c957809e9ec0b8044a05984de7c6 (patch)
tree795967aee27142f012f47e739b1bbb31c53b7450 /protocols/VKontakte/src
parentabc610a264a0a9c03effe579283c7d4c4fdf08b5 (diff)
fixes #4140 (NewStory: удаление отдельных сообщений)
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index bb386c812d..2c228a27e0 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -309,7 +309,7 @@ void CVkProto::OnReceiveHistoryMessages(MHttpResponse *reply, AsyncHttpRequest *
MEVENT hDbEvent = db_event_getById(m_szModuleName, strcat(szMid, "_"));
if (hDbEvent)
- db_event_delete(hDbEvent, true);
+ db_event_delete(hDbEvent, CDF_FROM_SERVER);
if (bIsRead && bIsOut && tDateTime > tLastReadMessageTime)
tLastReadMessageTime = tDateTime;