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/Gadu-Gadu/src/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Gadu-Gadu') diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index 08e31d7e23..71c5726c0b 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1221,7 +1221,7 @@ void GaduProto::OnContactDeleted(MCONTACT hContact) list_remove(&chats, chat, 1); // Terminate chat window / shouldn't cascade entry is deleted Chat_Control(chat->si, SESSION_OFFLINE); - Chat_Terminate(chat->si, wszRoomId); + Chat_Terminate(chat->si); chat->si = nullptr; } return; -- cgit v1.2.3