summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-11 12:47:43 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-11 12:47:43 +0300
commitab544cb8edebd9576fffc1a05d25843d03c1e379 (patch)
treef33715d001f8e407ea5992be936e8a5aeeaea540 /protocols
parent4597a13f6b8bce50428a89b111c937e20acf2222 (diff)
fixes #4026 (Telegram: вместо владельца чата показывается имя чата)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/groupchat.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp
index e63f633b9c..4412688d19 100644
--- a/protocols/Telegram/src/groupchat.cpp
+++ b/protocols/Telegram/src/groupchat.cpp
@@ -444,6 +444,9 @@ void CTelegramProto::ProcessSuperGroup(TD::updateSupergroup *pObj)
}
else {
auto *pChat = AddUser(tmp.id, true);
+ if (!pGroup->group->is_channel_)
+ pChat->bLoadMembers = true;
+
if (pChat->bStartChat)
InitGroupChat(pChat, pChat->wszNick);