diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 459cd5b7a8..9aeabd9deb 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -2135,7 +2135,10 @@ void HistoryWidget::setupShortcuts() { std::make_shared(_history)); return true; }); - if (showRecordButton() && _canSendMessages) { + if (showRecordButton() + && _canSendMessages + && _joinChannel->isHidden() + && !_composeSearch) { const auto isVoice = request->check(Command::RecordVoice, 1); const auto isRound = !isVoice && request->check(Command::RecordRound, 1);