From dd7bbe89ac6bc4abf13d98f73afc480912126fe4 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Thu, 3 Nov 2022 16:37:53 +0100 Subject: [PATCH] put detached logs in correct log item --- src/matrix/room/BaseRoom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/BaseRoom.js b/src/matrix/room/BaseRoom.js index 851e75c9..9e12f257 100644 --- a/src/matrix/room/BaseRoom.js +++ b/src/matrix/room/BaseRoom.js @@ -168,7 +168,7 @@ export class BaseRoom extends EventEmitter { } if (isTimelineOpen && decryption.hasUnverifiedSenders) { // verify missing senders async and update timeline once done so we don't delay rendering with network requests - log.wrapDetached("fetch unknown senders keys", async () => { + log.wrapDetached("fetch unknown senders keys", async log => { const newlyVerifiedDecryption = await decryption.fetchAndVerifyRemainingSenders(this._hsApi, log); const verifiedEntries = []; newlyVerifiedDecryption.applyToEntries(entries, entry => verifiedEntries.push(entry));