mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
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…
x
Reference in New Issue
Block a user