mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix forum without last topic opening.
This commit is contained in:
parent
f86afc9539
commit
6e75668e45
1 changed files with 0 additions and 11 deletions
|
@ -3325,17 +3325,6 @@ bool InnerWidget::chooseRow(
|
|||
history->peer->id,
|
||||
pressedTopicRootId,
|
||||
};
|
||||
} else if (!_controller->adaptive().isOneColumn()) {
|
||||
const auto &recent = forum->recentTopics();
|
||||
const auto topic = recent.empty()
|
||||
? nullptr
|
||||
: recent.front().get();
|
||||
if (topic && !topic->chatListBadgesState().unread) {
|
||||
chosen.message.fullId = {
|
||||
history->peer->id,
|
||||
topic->rootId(),
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue