mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't crash on topic icon reset.
This commit is contained in:
@@ -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{
|
||||||
|
Reference in New Issue
Block a user