diff --git a/src/matrix/Session.js b/src/matrix/Session.js index 2a1618a2..a5270476 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -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