diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-23 18:36:43 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-23 18:36:43 +0300 |
commit | 1889a81d577b0a0227724029cb083bea8a70758e (patch) | |
tree | 5e4a2258c69bce4c00287fb1e61a019d70ec9dde /protocols/Telegram/src | |
parent | 5ddd359f99bd383297f64cb1338c860ba66c80bb (diff) |
fixes #3952 (Telegram: при покидании канала в клисте появляется приватный чат)
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r-- | protocols/Telegram/src/groupchat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |