mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-24 14:33:02 +02:00
Don't show notifications from other admins.
This commit is contained in:
parent
910b6d8879
commit
90e445eec9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue