From ee4c132fb449a2a5c14e40ebc5c47e61c86a81ee Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sat, 26 Sep 2020 09:12:34 +0200 Subject: [PATCH] add todo --- src/matrix/e2ee/RoomEncryption.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/e2ee/RoomEncryption.js b/src/matrix/e2ee/RoomEncryption.js index 6063a06c..90b6fd23 100644 --- a/src/matrix/e2ee/RoomEncryption.js +++ b/src/matrix/e2ee/RoomEncryption.js @@ -251,6 +251,7 @@ export class RoomEncryption { await this._deviceTracker.trackRoom(this._room); const megolmResult = await this._megolmEncryption.encrypt(this._room.id, type, content, this._encryptionParams); if (megolmResult.roomKeyMessage) { + // TODO: should we await this?? this._shareNewRoomKey(megolmResult.roomKeyMessage, hsApi); } return {