Don't always open last topic in forums.

This commit is contained in:
John Preston 2024-05-16 16:44:55 +04:00
parent c3fab28e1c
commit 0551550e61

View file

@ -581,14 +581,6 @@ void Widget::chosenRow(const ChosenRow &row) {
history,
ShowAtUnreadMsgId,
Window::SectionShow::Way::ClearStack);
} else if (!controller()->adaptive().isOneColumn()) {
const auto item = history->chatListMessage();
if (const auto topic = item ? item->topic() : nullptr) {
controller()->showThread(
topic,
ShowAtUnreadMsgId,
Window::SectionShow::Way::ClearStack);
}
}
return;
} else if (history) {