mirror of https://github.com/procxx/kepka.git
fixed pinned bar delayed message load updating
This commit is contained in:
parent
bf5a5fd529
commit
4c13377d1e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue