diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-22 14:15:36 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-22 14:15:36 +0000 |
commit | 0514092bbe0dfcfa7a091a7a66b4df83be3a7eb9 (patch) | |
tree | 674ab9d3fccf2e62b4d6861c97bf048ad38f65d2 /protocols/VKontakte/src/vk_messages.cpp | |
parent | ca410fe247243f87ac3234f526f708111f227c74 (diff) |
VKontakte:
fix logline for quite from muc
fix invite after kick situation
fix muc title on return to muc
change type for IsEmpty() parameter
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@14327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index cbf42c6c2f..fc07790b82 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -246,8 +246,12 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe int action_mid = _ttoi(jnMsg["action_mid"].as_mstring());
if ((action_chat == "chat_kick_user") && (action_mid == m_myUserId))
KickFromChat(chat_id, uid, jnMsg);
- else
+ else {
+ MCONTACT chatContact = FindChat(chat_id);
+ if (chatContact && getBool(chatContact, "kicked", true))
+ db_unset(chatContact, m_szModuleName, "kicked");
AppendChatMessage(chat_id, jnMsg, false);
+ }
continue;
}
|