summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp2
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");