This commit is contained in:
Bruno Windels 2020-09-04 16:46:13 +02:00
parent a817a9aaf9
commit fbb534fa16

View file

@ -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();