From 984112e83f9fe878c48572f138a010eaee6d62f3 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 9 Jul 2021 22:15:50 +0200 Subject: [PATCH] Also copy waveform when sending again --- .../sdk/internal/session/room/send/DefaultSendService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/DefaultSendService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/DefaultSendService.kt index 449189e6b5..a07df63691 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/DefaultSendService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/DefaultSendService.kt @@ -184,7 +184,8 @@ internal class DefaultSendService @AssistedInject constructor( mimeType = messageContent.audioInfo?.mimeType, name = messageContent.body, queryUri = Uri.parse(messageContent.url), - type = ContentAttachmentData.Type.AUDIO + type = ContentAttachmentData.Type.AUDIO, + waveform = messageContent.audioWaveformInfo?.waveform ) localEchoRepository.updateSendState(localEcho.eventId, roomId, SendState.UNSENT) internalSendMedia(listOf(localEcho.root), attachmentData, true)