From 0551550e6191dff57c050072fc749c4017271be1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 16 May 2024 16:44:55 +0400 Subject: [PATCH] Don't always open last topic in forums. --- Telegram/SourceFiles/dialogs/dialogs_widget.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index da180d120..ae4061717 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -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) {