From 845532c9b72e4ce12d5eb4281a810f0149645745 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 2 Dec 2020 14:31:42 -0800 Subject: [PATCH] MessageReceiver: Wait for derived GV1 data --- ts/textsecure/MessageReceiver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/textsecure/MessageReceiver.ts b/ts/textsecure/MessageReceiver.ts index ae25aa4957fc..aa3f9efaea4e 100644 --- a/ts/textsecure/MessageReceiver.ts +++ b/ts/textsecure/MessageReceiver.ts @@ -1211,7 +1211,7 @@ class MessageReceiverInner extends EventTarget { return undefined; } - this.deriveGroupV1Data(msg); + await this.deriveGroupV1Data(msg); this.deriveGroupV2Data(msg); if ( @@ -1611,7 +1611,7 @@ class MessageReceiverInner extends EventTarget { return undefined; } - this.deriveGroupV1Data(sentMessage.message); + await this.deriveGroupV1Data(sentMessage.message); this.deriveGroupV2Data(sentMessage.message); window.log.info(