From 2ff5d7383c6a29b88f239eb4820d9d8fe1dc66d9 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sun, 11 Sep 2022 06:51:07 +0300 Subject: [PATCH] [Improvement] Scroll to dialog on back button click --- Telegram/SourceFiles/mainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp index f871e0cea..c2e5a7cba 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -1479,13 +1479,13 @@ void MainWidget::ui_showPeerHistory( } if (_dialogs && !_dialogs->isHidden()) { - if (!back) { + // if (!back) { if (const auto history = _history->history()) { _dialogs->scrollToEntry(Dialogs::RowDescriptor( history, FullMsgId(history->peer->id, showAtMsgId))); } - } + // } _dialogs->update(); }