mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed emoji clearing in sections when sending failed due to slowmode.
Fixed #17149.
This commit is contained in:
parent
b36fce31d5
commit
6ef67caa73
1 changed files with 3 additions and 1 deletions
|
@ -1225,7 +1225,9 @@ void ComposeControls::initAutocomplete() {
|
|||
|
||||
_autocomplete->stickerChosen(
|
||||
) | rpl::start_with_next([=](FieldAutocomplete::StickerChosen data) {
|
||||
setText({});
|
||||
if (!_showSlowmodeError || !_showSlowmodeError()) {
|
||||
setText({});
|
||||
}
|
||||
//_saveDraftText = true;
|
||||
//_saveDraftStart = crl::now();
|
||||
//saveDraft();
|
||||
|
|
Loading…
Add table
Reference in a new issue