mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
comment about session backup
This commit is contained in:
parent
3bfe52b1dc
commit
3671574547
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user