summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-22 17:02:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-22 17:02:52 +0300
commita14e6388fd3266c6815a4ebaad3a942896c3e80a (patch)
tree84147df60f4be482f3c5074ce1f8adcdbf46b4a2 /protocols/VKontakte
parent061a20a9cf305cf5fabe2a35b7d8a86eb8d6b154 (diff)
if one needs to remove a chat's contact, just remove it and don't fuck my brain
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index f4c9dd1353..48a5a98d8b 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -641,7 +641,7 @@ void CVkProto::LeaveChat(int chat_id, bool close_window, bool delete_chat)
return;
if (close_window)
- Chat_Terminate(m_szModuleName, cc->m_si->ptszID);
+ Chat_Terminate(cc->m_si);
else
Chat_Control(cc->m_si, SESSION_OFFLINE);