Attempt to fix a crash in pinned message translations.

This commit is contained in:
John Preston 2023-07-25 21:33:32 +04:00
parent 30334b6c74
commit 885a8b3161
1 changed files with 2 additions and 0 deletions

View File

@ -6564,6 +6564,8 @@ void HistoryWidget::checkPinnedBarState() {
_list->setShownPinned(
session().data().message(
_pinnedTracker->currentMessageId().message));
} else {
_list->setShownPinned(nullptr);
}
return std::move(content);
}));