Show the community arrow on linked bot rows.

This commit is contained in:
John Preston
2026-07-08 10:22:59 +04:00
parent e5a390d58e
commit fec08174e0
2 changed files with 9 additions and 9 deletions
@@ -963,11 +963,7 @@ void Widget::chosenRow(const ChosenRow &row) {
|| (row.message.fullId.msg != ShowAtUnreadMsgId)) {
return nullptr;
}
const auto channel = history->peer->asChannel();
if (!channel) {
return nullptr;
}
const auto communityId = channel->linkedCommunityId();
const auto communityId = Data::PeerLinkedCommunityId(history->peer);
if (!communityId) {
return nullptr;
}