Ensure sending pauses audio

This commit is contained in:
jonnyandrew 2023-10-27 15:16:58 +01:00
parent 71644910e8
commit 08ba8e182a
No known key found for this signature in database
GPG key ID: 0D58D4EF33D27015
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,