summaryrefslogtreecommitdiff
path: root/protocols/Telegram
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-01 12:23:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-01 12:23:51 +0300
commitc03b642c19a73559520b3ff3b0bd44c009b36709 (patch)
tree242628180167bb6053e609681f1a3d64cd40ad03 /protocols/Telegram
parent670e1de41f7239592dc8e66fa3be3fc103ff0603 (diff)
fixes #4256 (Telegram: forums do not inherit Muted status from the main chat)
Diffstat (limited to 'protocols/Telegram')
-rw-r--r--protocols/Telegram/src/groupchat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp
index ead181089d..1052fd0aa0 100644
--- a/protocols/Telegram/src/groupchat.cpp
+++ b/protocols/Telegram/src/groupchat.cpp
@@ -437,6 +437,7 @@ void CTelegramProto::ProcessForum(TD::updateForumTopicInfo *pForum)
SetId(si->hContact, pForum->info_->message_thread_id_, DBKEY_THREAD);
+ Chat_Mute(si->hContact, Chat_IsMuted(pUser->hContact));
Clist_SetGroup(si->hContact, ptrW(Clist_GetGroup(pUser->hContact)));
Chat_Control(si, m_bHideGroupchats ? WINDOW_HIDDEN : SESSION_INITDONE);