mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Attempt to fix a crash in pinned message translations.
This commit is contained in:
parent
30334b6c74
commit
885a8b3161
1 changed files with 2 additions and 0 deletions
|
@ -6564,6 +6564,8 @@ void HistoryWidget::checkPinnedBarState() {
|
||||||
_list->setShownPinned(
|
_list->setShownPinned(
|
||||||
session().data().message(
|
session().data().message(
|
||||||
_pinnedTracker->currentMessageId().message));
|
_pinnedTracker->currentMessageId().message));
|
||||||
|
} else {
|
||||||
|
_list->setShownPinned(nullptr);
|
||||||
}
|
}
|
||||||
return std::move(content);
|
return std::move(content);
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Reference in a new issue