mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-08 04:34:05 +00:00
Show the community arrow on linked bot rows.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user