summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-12 07:20:35 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-12 07:20:35 +0000
commite5724215fd499752384bcb4968d4083c8b7b1ffe (patch)
treef9bcc3ceb23e82cd4ca0b075cf36592ae3d9860f /protocols
parente2dd2ccaf0613e8c81175b1af4872baf72ef34a9 (diff)
fix for chat destroy
git-svn-id: http://svn.miranda-ng.org/main/trunk@10437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index 63df8015fe..e24e4023b1 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -456,7 +456,8 @@ void CVkProto::LogMenuHook(CVkChatInfo *cc, GCHOOK *gch)
"Hist=API.messages.getHistory({\"chat_id\":%d, \"count\":200});"
"countMsg = Hist.count;itemsMsg = Hist.items@.id;}; return 1;", cc->m_chatid, cc->m_chatid);
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/execute.json", true, &CVkProto::OnChatDestroy)
- << CHAR_PARAM("code", code))->pUserInfo = cc;
+ << CHAR_PARAM("code", code)
+ << VER_API)->pUserInfo = cc;
}
break;
}