From bd5771e44974be6c181ed4f17578650ff83ece17 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 9 Nov 2020 17:22:37 +0100 Subject: [PATCH] remove obsolete comment --- src/matrix/e2ee/RoomEncryption.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/matrix/e2ee/RoomEncryption.js b/src/matrix/e2ee/RoomEncryption.js index 7a177f06..86c07606 100644 --- a/src/matrix/e2ee/RoomEncryption.js +++ b/src/matrix/e2ee/RoomEncryption.js @@ -266,7 +266,6 @@ export class RoomEncryption { async encrypt(type, content, hsApi) { 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 {