forked from mystiq/hydrogen-web
actually log initial session backup enabling rather than using null log
This commit is contained in:
parent
325d237302
commit
2b24de838a
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue