mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Don't always open last topic in forums.
This commit is contained in:
@@ -581,14 +581,6 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||||||
history,
|
history,
|
||||||
ShowAtUnreadMsgId,
|
ShowAtUnreadMsgId,
|
||||||
Window::SectionShow::Way::ClearStack);
|
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;
|
return;
|
||||||
} else if (history) {
|
} else if (history) {
|
||||||
|
Reference in New Issue
Block a user