From fbb534fa1671b58f929fe6496a4f16bfed17b874 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 4 Sep 2020 16:46:13 +0200 Subject: [PATCH] add todo --- src/matrix/e2ee/megolm/Decryption.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/e2ee/megolm/Decryption.js b/src/matrix/e2ee/megolm/Decryption.js index 395b03a0..79a58ffa 100644 --- a/src/matrix/e2ee/megolm/Decryption.js +++ b/src/matrix/e2ee/megolm/Decryption.js @@ -111,6 +111,7 @@ export class Decryption { return; } + // TODO: compare first_known_index to see which session to keep const hasSession = await txn.inboundGroupSessions.has(roomId, senderKey, sessionId); if (!hasSession) { const session = new this._olm.InboundGroupSession();