2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Don't crash on topic icon reset.

This commit is contained in:
John Preston
2022-10-04 21:03:55 +04:00
parent 2781fe2c34
commit 57b752c232

View File

@@ -333,7 +333,7 @@ void EmojiStatusPanel::startAnimation(
not_null<Ui::RpWidget*> body, not_null<Ui::RpWidget*> body,
DocumentId statusId, DocumentId statusId,
Ui::MessageSendingAnimationFrom from) { Ui::MessageSendingAnimationFrom from) {
if (!_panelButton) { if (!_panelButton || !statusId) {
return; return;
} }
auto args = HistoryView::Reactions::AnimationArgs{ auto args = HistoryView::Reactions::AnimationArgs{