From 367157454799b50187625779119bd5b90fcb810f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 2 Mar 2021 21:30:00 +0100 Subject: [PATCH] comment about session backup --- src/matrix/room/Room.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 4ab04314..a5781de0 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -536,6 +536,7 @@ export class Room extends EventEmitter { enableSessionBackup(sessionBackup) { this._roomEncryption?.enableSessionBackup(sessionBackup); + // TODO: do we really want to do this every time you open the app? if (this._timeline) { const timelineEvents = this._timeline.remoteEntries.filter(e => e.event).map(e => e.event); this._roomEncryption.restoreMissingSessionsFromBackup(timelineEvents);