summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-10 12:54:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-10 12:54:20 +0300
commitef0ba268b340eaf1217a96d763342c25668588b4 (patch)
tree17396375e213043c2ce1c59b50b7f30488dcb83d /protocols/VKontakte
parent33733576589076f080ddfa000b899843016a2597 (diff)
Protocols: preventing recursive contact deletion
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index d163c059d2..bd7acbac2d 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -1782,7 +1782,7 @@ MEVENT CVkProto::GetMessageFromDb(const char *messageId, UINT &timestamp, CMStri
int CVkProto::DeleteContact(MCONTACT hContact)
{
setByte(hContact, "SilentDelete", 1);
- return db_delete_contact(hContact);
+ return db_delete_contact(hContact, true);
}
bool CVkProto::IsMessageExist(UINT iMsgId, VKMesType vkType)