diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 5e3ef643..7326e32f 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -589,7 +589,9 @@ export class Room extends EventEmitter { this._roomEncryption?.enableSessionBackup(sessionBackup); // TODO: do we really want to do this every time you open the app? if (this._timeline) { - this._roomEncryption.restoreMissingSessionsFromBackup(this._timeline.remoteEntries, ensureLogItem()); + this._platform.logger.run("enableSessionBackup", log => { + return this._roomEncryption.restoreMissingSessionsFromBackup(this._timeline.remoteEntries, log); + }); } }