diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index fe75ca477c..d6bcf02c31 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -577,15 +577,7 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe int action_mid = _ttoi(json_as_string(json_get(pMsg, "action_mid")));
if ((action_chat == "chat_kick_user") && (action_mid == m_myUserId))
KickFromChat(chat_id, uid, pMsg);
- else if ((action_chat == "chat_invite_user") && (action_mid == m_myUserId)){
- MCONTACT chatContact = FindChat(chat_id);
- if (chatContact){
- db_unset(chatContact, m_szModuleName, "kicked");
- db_unset(chatContact, m_szModuleName, "off");
- }
- AppendChatMessage(chat_id, pMsg, false);
- }
- else
+ else
AppendChatMessage(chat_id, pMsg, false);
continue;
}
|