mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't always open last topic in forums.
This commit is contained in:
parent
c3fab28e1c
commit
0551550e61
1 changed files with 0 additions and 8 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue