Ensure sending pauses audio

This commit is contained in:
jonnyandrew 2023-10-27 15:16:58 +01:00
parent 1683049b0c
commit e3bb3c55b6
2 changed files with 24 additions and 0 deletions

View file

@ -149,6 +149,7 @@ class VoiceMessageComposerPresenter @Inject constructor(
return@lambda
}
isSending = true
player.pause()
appCoroutineScope.sendMessage(
file = finishedState.file,
mimeType = finishedState.mimeType,