Show community status across ordinary peer lists

Task: 2026/07/23/show-community-status-in-peer-lists
This commit is contained in:
John Preston
2026-07-23 17:51:05 +04:00
parent bfdf2ae403
commit 49fb0bef2f
4 changed files with 8 additions and 33 deletions
@@ -266,7 +266,7 @@ RecentRow::RecentRow(not_null<PeerData*> peer)
chat->count));
}
} else if (const auto channel = peer->asChannel()) {
if (channel->membersCountKnown()) {
if (!channel->isCommunity() && channel->membersCountKnown()) {
setCustomStatus((channel->isBroadcast()
? tr::lng_chat_status_subscribers
: tr::lng_chat_status_members)(