From 7eb0d347f5b000736d4c3b18b9e16c760d0d4146 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Jan 2022 14:36:35 +0100 Subject: [PATCH] flush key backup after coming online --- src/matrix/Session.js | 1 + 1 file changed, 1 insertion(+) 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