mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
@@ -3232,7 +3232,7 @@ void ComposeControls::initVoiceRecordBar() {
|
||||
return Ui::AppInFocus();
|
||||
}) | rpl::on_next([=](not_null<Shortcuts::Request*> request) {
|
||||
using Command = Shortcuts::Command;
|
||||
if (Data::CanSendAnything(_history->peer)) {
|
||||
if (Data::CanSendAnything(_history->peer, !_topicRootId)) {
|
||||
const auto isVoice = request->check(Command::RecordVoice, 1);
|
||||
const auto isRound = !isVoice
|
||||
&& request->check(Command::RecordRound, 1);
|
||||
|
||||
Reference in New Issue
Block a user