Fixed reply stuck display at sending voice in Replies section.

This commit is contained in:
23rd 2020-11-19 05:15:42 +03:00 committed by John Preston
parent f75fb33c29
commit a6e4ac679c
1 changed files with 3 additions and 0 deletions

View File

@ -888,6 +888,9 @@ void RepliesWidget::sendVoice(ComposeControls::VoiceToSend &&data) {
data.waveform, data.waveform,
data.duration, data.duration,
std::move(action)); std::move(action));
_composeControls->cancelReplyMessage();
finishSending();
} }
void RepliesWidget::send(Api::SendOptions options) { void RepliesWidget::send(Api::SendOptions options) {