From aa23672694cdf3a1c0516c9f17d6ed525b971549 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 3 Mar 2021 17:50:38 +0100 Subject: [PATCH] forgot await, this broke updating the timeline when fetching key backup --- src/matrix/room/Room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 2497f0b9..900384e0 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -83,7 +83,7 @@ export class Room extends EventEmitter { this._storage.storeNames.timelineEvents, this._storage.storeNames.inboundGroupSessions, ]); - const retryEntries = this._getRetryDecryptEntriesForKey(roomKey, txn); + const retryEntries = await this._getRetryDecryptEntriesForKey(roomKey, txn); if (retryEntries.length) { const decryptRequest = this._decryptEntries(DecryptionSource.Retry, retryEntries, txn); // this will close txn while awaiting decryption