diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index 5495675bd..b1d0e6566 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -1794,6 +1794,9 @@ void HistoryWidget::showHistory(const PeerId &peerId, MsgId showAtMsgId, bool re setMsgId(showAtMsgId); if (_historyInited) { + countHistoryShowFrom(); + destroyUnreadBar(); + auto item = getItemFromHistoryOrMigrated(_showAtMsgId); animatedScrollToY(countInitialScrollTop(), item); highlightMessage(item);