mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix possible crash in sticker click.
This commit is contained in:
parent
343560225c
commit
c062ba3426
1 changed files with 1 additions and 1 deletions
|
@ -1858,7 +1858,7 @@ void HistoryWidget::fileChosen(ChatHelpers::FileChosen &&data) {
|
|||
} else if (!_field->isHidden()) {
|
||||
Data::InsertCustomEmoji(_field.data(), data.document);
|
||||
}
|
||||
} else {
|
||||
} else if (_history) {
|
||||
controller()->sendingAnimation().appendSending(
|
||||
data.messageSendingFrom);
|
||||
const auto localId = data.messageSendingFrom.localId;
|
||||
|
|
Loading…
Add table
Reference in a new issue