mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added simple animation of stickers sending from autocomplete field.
This commit is contained in:
@@ -401,7 +401,10 @@ HistoryWidget::HistoryWidget(
|
||||
|
||||
_fieldAutocomplete->stickerChosen(
|
||||
) | rpl::start_with_next([=](FieldAutocomplete::StickerChosen data) {
|
||||
sendExistingDocument(data.sticker, data.options);
|
||||
controller->sendingAnimation().appendSending(
|
||||
data.messageSendingFrom);
|
||||
const auto localId = data.messageSendingFrom.localId;
|
||||
sendExistingDocument(data.sticker, data.options, localId);
|
||||
}, lifetime());
|
||||
|
||||
_fieldAutocomplete->setModerateKeyActivateCallback([=](int key) {
|
||||
|
Reference in New Issue
Block a user