mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
flush key backup after coming online
This commit is contained in:
parent
ae5cc17290
commit
7eb0d347f5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user