diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-10 12:54:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-10 12:54:20 +0300 |
commit | ef0ba268b340eaf1217a96d763342c25668588b4 (patch) | |
tree | 17396375e213043c2ce1c59b50b7f30488dcb83d /protocols/VKontakte | |
parent | 33733576589076f080ddfa000b899843016a2597 (diff) |
Protocols: preventing recursive contact deletion
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 |
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 ×tamp, 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)
|