From 4c13377d1e2469a05cb7f3decdeea4c7ed24ce4c Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 12 Mar 2016 21:52:46 +0300 Subject: [PATCH] fixed pinned bar delayed message load updating --- Telegram/SourceFiles/historywidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index ee0d57ae8..4a8a352e7 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -6818,6 +6818,7 @@ void HistoryWidget::updatePinnedBar(bool force) { } if (_pinnedBar->msg) { _pinnedBar->text.setText(st::msgFont, _pinnedBar->msg->inDialogsText(), _textDlgOptions); + update(); } else if (force) { if (_peer && _peer->isMegagroup()) { _peer->asChannel()->mgInfo->pinnedMsgId = 0;