Try showing communities in the chat list.

This commit is contained in:
John Preston
2026-06-12 09:59:21 +04:00
parent 6c65aae5cc
commit 4b23f93fcf
6 changed files with 98 additions and 5 deletions
@@ -3034,6 +3034,14 @@ void SessionController::showPeerHistory(
PeerId peerId,
const SectionShow &params,
MsgId msgId) {
if (const auto peer = session().data().peerLoaded(peerId)) {
if (const auto channel = peer->asChannel()) {
if (channel->isCommunity()) {
ShowCommunityBox(this, channel);
return;
}
}
}
content()->showHistory(peerId, params, msgId);
}