diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-28 04:30:07 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-28 04:30:07 +0000 |
commit | 0c89be2bea895bfe6c6077f4ac09d72fdffd160f (patch) | |
tree | 3a54c889af2231ea54593e49081dc1fcb5312285 /protocols/VKontakte/src/vk_chats.cpp | |
parent | a4644874587bfc5e56aa806dad663f8710ebbb19 (diff) |
VKontakte:
code cleanup
add debuglog lines
git-svn-id: http://svn.miranda-ng.org/main/trunk@11126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_chats.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index af0bd613bb..cf12dc18b8 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -145,7 +145,7 @@ void CVkProto::OnReceiveChatInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce);
}
if ((json_as_int(json_get(info, "left")) == 1) || (json_as_int(json_get(info, "kicked")) == 1)){
- setByte(cc->m_hContact, "kicked", true);
+ setByte(cc->m_hContact, "kicked", (int)true);
LeaveChat(cc->m_chatid);
return;
}
@@ -549,7 +549,7 @@ void CVkProto::LeaveChat(int chat_id, bool close_window, bool delete_chat) if (delete_chat)
CallService(MS_DB_CONTACT_DELETE, (WPARAM)cc->m_hContact, 0);
else
- setByte(cc->m_hContact, "off", true);
+ setByte(cc->m_hContact, "off", (int)true);
m_chats.remove(cc);
}
|