mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix forum without last topic opening.
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user