mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-26 23:43:06 +02:00
Don't show "Who Viewed" in monoforums.
This commit is contained in:
parent
90e445eec9
commit
8654ffb6fb
1 changed files with 2 additions and 1 deletions
|
@ -712,7 +712,8 @@ bool WhoReadExists(not_null<HistoryItem*> item) {
|
|||
const auto megagroup = peer->asMegagroup();
|
||||
if ((!chat && !megagroup)
|
||||
|| (megagroup
|
||||
&& (megagroup->flags() & ChannelDataFlag::ParticipantsHidden))) {
|
||||
&& (megagroup->flags() & ChannelDataFlag::ParticipantsHidden))
|
||||
|| megagroup->isMonoforum()) {
|
||||
return false;
|
||||
}
|
||||
const auto &appConfig = peer->session().appConfig();
|
||||
|
|
Loading…
Add table
Reference in a new issue