diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-26 17:20:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-26 17:20:07 +0300 |
commit | 627fd4f0a93b225d475d81746ad12bbdf1be95ee (patch) | |
tree | 0999747dcd513115d8677e5988560e612e8037f3 | |
parent | a31a63bc46df07569bb05c69fb027d6edc0aee3d (diff) |
fixes #4303 (Telegram: when you leave chat from another device, it's not marked as NotOnList)
-rw-r--r-- | protocols/Telegram/src/groupchat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp index e1b430de34..7529281288 100644 --- a/protocols/Telegram/src/groupchat.cpp +++ b/protocols/Telegram/src/groupchat.cpp @@ -467,6 +467,7 @@ void CTelegramProto::ProcessSuperGroup(TD::updateSupergroup *pObj) pUser->wszNick = Utf2T(getName(pGroup->group->usernames_.get())); pUser->wszLastName.Format(TranslateT("%d member(s)"), pGroup->group->member_count_); } + else Contact::RemoveFromList(pUser->hContact); } else { auto *pChat = AddUser(tmp.id, true); |