Added ability to start recording voice chat without title.

This commit is contained in:
23rd 2021-05-14 16:21:55 +03:00
parent a429500b57
commit be53bd5293

View file

@ -78,10 +78,6 @@ void StartGroupCallRecordingBox(
}); });
box->addButton(tr::lng_group_call_recording_start_button(), [=] { box->addButton(tr::lng_group_call_recording_start_button(), [=] {
const auto result = input->getLastText().trimmed(); const auto result = input->getLastText().trimmed();
if (result.isEmpty()) {
input->showError();
return;
}
box->closeBox(); box->closeBox();
done(result); done(result);
}); });