From a14e6388fd3266c6815a4ebaad3a942896c3e80a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 22 Feb 2023 17:02:52 +0300 Subject: if one needs to remove a chat's contact, just remove it and don't fuck my brain --- protocols/VKontakte/src/vk_chats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') 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); -- cgit v1.2.3