forked from mystiq/hydrogen-web
flush after enabling key backup
This commit is contained in:
parent
c9b5ce6508
commit
a97d235cf5
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ export class Session {
|
||||||
]);
|
]);
|
||||||
if (await this._createKeyBackup(key, readTxn, log)) {
|
if (await this._createKeyBackup(key, readTxn, log)) {
|
||||||
await this._writeSSSSKey(key);
|
await this._writeSSSSKey(key);
|
||||||
|
this._keyBackup.get().flush(log);
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue