From 90e445eec991f9d60522976ae24d11e4b061362b Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 4 Jun 2025 18:26:30 +0400 Subject: [PATCH] Don't show notifications from other admins. --- Telegram/SourceFiles/history/history_item.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 3daa1a5500..39c983ac7d 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -1713,6 +1713,9 @@ bool HistoryItem::skipNotification() const { if (forwarded->imported) { return true; } + } else if (_history->amMonoforumAdmin() + && from() == _history->peer->monoforumBroadcast()) { + return true; } return false; }