From a941e73f7ba0db390e1df699a7258d4130b0e427 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Mon, 14 Dec 2020 14:39:53 +1100 Subject: [PATCH] fix bug of voice message not received, the size was not included --- ts/components/session/conversation/SessionCompositionBox.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/components/session/conversation/SessionCompositionBox.tsx b/ts/components/session/conversation/SessionCompositionBox.tsx index faf6753d5..a4fcf51f4 100644 --- a/ts/components/session/conversation/SessionCompositionBox.tsx +++ b/ts/components/session/conversation/SessionCompositionBox.tsx @@ -918,6 +918,7 @@ export class SessionCompositionBox extends React.Component { data: fileBuffer, flags: SignalService.AttachmentPointer.Flags.VOICE_MESSAGE, contentType: MIME.AUDIO_MP3, + size: audioBlob.size, }; const messageSuccess = this.props.sendMessage(