mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-19 21:09:38 +01:00
Also copy waveform when sending again
This commit is contained in:
parent
963eb9daf4
commit
984112e83f
@ -184,7 +184,8 @@ internal class DefaultSendService @AssistedInject constructor(
|
|||||||
mimeType = messageContent.audioInfo?.mimeType,
|
mimeType = messageContent.audioInfo?.mimeType,
|
||||||
name = messageContent.body,
|
name = messageContent.body,
|
||||||
queryUri = Uri.parse(messageContent.url),
|
queryUri = Uri.parse(messageContent.url),
|
||||||
type = ContentAttachmentData.Type.AUDIO
|
type = ContentAttachmentData.Type.AUDIO,
|
||||||
|
waveform = messageContent.audioWaveformInfo?.waveform
|
||||||
)
|
)
|
||||||
localEchoRepository.updateSendState(localEcho.eventId, roomId, SendState.UNSENT)
|
localEchoRepository.updateSendState(localEcho.eventId, roomId, SendState.UNSENT)
|
||||||
internalSendMedia(listOf(localEcho.root), attachmentData, true)
|
internalSendMedia(listOf(localEcho.root), attachmentData, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user