Skip to content

Commit

Permalink
Attempt to fix a crash in pinned message translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 25, 2023
1 parent 30334b6 commit 885a8b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Telegram/SourceFiles/history/history_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6564,6 +6564,8 @@ void HistoryWidget::checkPinnedBarState() {
_list->setShownPinned(
session().data().message(
_pinnedTracker->currentMessageId().message));
} else {
_list->setShownPinned(nullptr);
}
return std::move(content);
}));
Expand Down

0 comments on commit 885a8b3

Please sign in to comment.