From 811fdab27bd4626871aaa90bb1c1770472960045 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 90d7de970..c82a3ad6d 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -1444,13 +1444,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(); }