diff --git a/src/matrix/Session.js b/src/matrix/Session.js index ab815f29..3d1530c9 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -204,6 +204,7 @@ export class Session { ]); if (await this._createKeyBackup(key, readTxn, log)) { await this._writeSSSSKey(key); + this._keyBackup.get().flush(log); return key; } });