mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fix possible crash in sticker click.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user