mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 03:42:56 +00:00
Support pin/folder actions for community.
This commit is contained in:
@@ -48,7 +48,7 @@ constexpr auto kMaxNotifyCheckDelay = 24 * 3600 * crl::time(1000);
|
||||
} else if (const auto chat = peer->asChat()) {
|
||||
return chat->isDeactivated() || chat->isForbidden();
|
||||
} else if (const auto channel = peer->asChannel()) {
|
||||
return channel->isForbidden();
|
||||
return channel->isForbidden() || channel->isCommunity();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user