diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:44:36 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:45:19 +0500 |
commit | 73b122d495760172d7f380d783d17e1b36212282 (patch) | |
tree | cd4634fe9da43e16aef01ef1b615274a9fec542f /protocols/VKontakte/src/vk_chats.cpp | |
parent | 7b91e481c58fdc8bca6619e3665bc1ded40b0200 (diff) |
VKontakte:
add removing from friendlist and clear server history on delete from Miranda clist
version bump
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 e48e3979e4..43eb705527 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -611,7 +611,7 @@ void CVkProto::LeaveChat(int chat_id, bool close_window, bool delete_chat) Chat_Control(m_szModuleName, cc->m_wszId, SESSION_OFFLINE);
if (delete_chat)
- db_delete_contact(cc->m_hContact);
+ DeleteContact(cc->m_hContact);
else
setByte(cc->m_hContact, "off", (int)true);
m_chats.remove(cc);
@@ -676,7 +676,7 @@ INT_PTR __cdecl CVkProto::SvcDestroyKickChat(WPARAM hContact, LPARAM) << INT_PARAM("chatid", chat_id)
);
- db_delete_contact(hContact);
+ DeleteContact(hContact);
return 0;
}
|