MessageReceiver: Wait for derived GV1 data

This commit is contained in:
Scott Nonnenberg 2020-12-02 14:31:42 -08:00 committed by GitHub
parent c85ea814b1
commit 845532c9b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1211,7 +1211,7 @@ class MessageReceiverInner extends EventTarget {
return undefined; return undefined;
} }
this.deriveGroupV1Data(msg); await this.deriveGroupV1Data(msg);
this.deriveGroupV2Data(msg); this.deriveGroupV2Data(msg);
if ( if (
@ -1611,7 +1611,7 @@ class MessageReceiverInner extends EventTarget {
return undefined; return undefined;
} }
this.deriveGroupV1Data(sentMessage.message); await this.deriveGroupV1Data(sentMessage.message);
this.deriveGroupV2Data(sentMessage.message); this.deriveGroupV2Data(sentMessage.message);
window.log.info( window.log.info(