2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +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,
DocumentId statusId,
Ui::MessageSendingAnimationFrom from) {
if (!_panelButton) {
if (!_panelButton || !statusId) {
return;
}
auto args = HistoryView::Reactions::AnimationArgs{