flush key backup after coming online
This commit is contained in:
parent
ae5cc17290
commit
7eb0d347f5
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ export class Session {
|
||||||
if (ssssKey) {
|
if (ssssKey) {
|
||||||
// txn will end here as this does a network request
|
// txn will end here as this does a network request
|
||||||
await this._createKeyBackup(ssssKey, txn, log);
|
await this._createKeyBackup(ssssKey, txn, log);
|
||||||
|
this._keyBackup.get()?.flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// restore unfinished operations, like sending out room keys
|
// restore unfinished operations, like sending out room keys
|
||||||
|
|
Reference in a new issue