mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fixed emoji clearing in sections when sending failed due to slowmode.
Fixed #17149.
This commit is contained in:
@@ -1225,7 +1225,9 @@ void ComposeControls::initAutocomplete() {
|
|||||||
|
|
||||||
_autocomplete->stickerChosen(
|
_autocomplete->stickerChosen(
|
||||||
) | rpl::start_with_next([=](FieldAutocomplete::StickerChosen data) {
|
) | rpl::start_with_next([=](FieldAutocomplete::StickerChosen data) {
|
||||||
|
if (!_showSlowmodeError || !_showSlowmodeError()) {
|
||||||
setText({});
|
setText({});
|
||||||
|
}
|
||||||
//_saveDraftText = true;
|
//_saveDraftText = true;
|
||||||
//_saveDraftStart = crl::now();
|
//_saveDraftStart = crl::now();
|
||||||
//saveDraft();
|
//saveDraft();
|
||||||
|
Reference in New Issue
Block a user