forked from mystiq/hydrogen-web
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) {
|
||||
// txn will end here as this does a network request
|
||||
await this._createKeyBackup(ssssKey, txn, log);
|
||||
this._keyBackup.get()?.flush();
|
||||
}
|
||||
}
|
||||
// restore unfinished operations, like sending out room keys
|
||||
|
|
Loading…
Reference in a new issue