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