From f4083b50bfd6ac5320de33e8acfe0f12251a2d87 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 3c146da22..c23e46a31 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -1462,13 +1462,13 @@ void MainWidget::showHistory( } 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(); }