diff --git a/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp b/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp index b3a9250d85..64db33d133 100644 --- a/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp +++ b/Telegram/SourceFiles/chat_helpers/field_autocomplete.cpp @@ -1662,6 +1662,7 @@ void InitFieldAutocomplete( const auto field = descriptor.field; field->rawTextEdit()->installEventFilter(raw); + field->customTab(true); raw->mentionChosen( ) | rpl::start_with_next([=](FieldAutocomplete::MentionChosen data) { diff --git a/Telegram/SourceFiles/chat_helpers/message_field.cpp b/Telegram/SourceFiles/chat_helpers/message_field.cpp index 4485a94d0a..713687f183 100644 --- a/Telegram/SourceFiles/chat_helpers/message_field.cpp +++ b/Telegram/SourceFiles/chat_helpers/message_field.cpp @@ -581,7 +581,6 @@ void InitMessageField( [=] { return show->paused(ChatHelpers::PauseReason::Any); }, std::move(allowPremiumEmoji)); InitMessageFieldGeometry(field); - field->customTab(true); } void InitMessageField(