Support pin/folder actions for community.

This commit is contained in:
John Preston
2026-06-19 17:43:23 +04:00
parent a0fd43642a
commit eef22271e0
33 changed files with 539 additions and 175 deletions
@@ -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;
}