diff --git a/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp index d1e2d94b4..56fb000f1 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_emoji_status_panel.cpp @@ -333,7 +333,7 @@ void EmojiStatusPanel::startAnimation( not_null body, DocumentId statusId, Ui::MessageSendingAnimationFrom from) { - if (!_panelButton) { + if (!_panelButton || !statusId) { return; } auto args = HistoryView::Reactions::AnimationArgs{