diff options
author | ElzorFox <elzorfox@ya.ru> | 2020-08-01 18:43:50 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2020-08-01 18:43:50 +0500 |
commit | 2d499d1b1dfb1812f2d441c5e9c6de36df0c2ec8 (patch) | |
tree | b5795e9e2d2d2b98a358cb2aaaf2d850a50c9586 | |
parent | f8b0f5b986833e882ff669e37cabc7d6f80a85f2 (diff) |
VKontakte: fix deleting dialog on ban user
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 2669fdc883..1a45ce6412 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -950,7 +950,7 @@ INT_PTR __cdecl CVkProto::SvcBanUser(WPARAM hContact, LPARAM) }
if (m_vkOptions.bClearServerHistory) {
debugLogA("CVkProto::SvcBanUser m_vkOptions.bClearServerHistory = true");
- code += "API.messages.deleteDialog({\"user_id\":userID,count:10000});";
+ code += "API.messages.deleteConversation({\"peer_id\":userID});";
if (!wszVarWarning.IsEmpty())
wszVarWarning.AppendChar(L',');
wszVarWarning += TranslateT(" clear server history with him/her");
|