From 1889a81d577b0a0227724029cb083bea8a70758e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Nov 2023 18:36:43 +0300 Subject: =?UTF-8?q?fixes=20#3952=20(Telegram:=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BA=D0=B8=D0=B4=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=BA?= =?UTF-8?q?=D0=B0=D0=BD=D0=B0=D0=BB=D0=B0=20=D0=B2=20=D0=BA=D0=BB=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=B5=20=D0=BF=D0=BE=D1=8F=D0=B2=D0=BB=D1=8F=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=BF=D1=80=D0=B8=D0=B2=D0=B0=D1=82=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D1=87=D0=B0=D1=82)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/groupchat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/Telegram/src') diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp index eee14c00cd..c456f05558 100644 --- a/protocols/Telegram/src/groupchat.cpp +++ b/protocols/Telegram/src/groupchat.cpp @@ -230,9 +230,10 @@ void CTelegramProto::Chat_LogMenu(GCHOOK *gch) SendQuery(new TD::leaveChat(pUser->chatId)); } - Chat_Terminate(gch->si); Contact::Hide(gch->si->hContact); Contact::RemoveFromList(gch->si->hContact); + + Chat_Terminate(gch->si); break; } } -- cgit v1.2.3