From 1a5a64864a91862549ec5b6bf87f2e84e92ab554 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 23 Jun 2021 17:47:18 +0200 Subject: [PATCH] don't double log redactReaction --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index ca122f68..7accfb12 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -171,7 +171,6 @@ export class BaseMessageTile extends SimpleTile { log.set("ongoing", true); return; } - return this.logger.wrapOrRun(log, "redactReaction", async log => { const entry = await this._entry.getOwnAnnotationEntry(this._timeline, key); if (entry) { const updatePromise = new Promise(resolve => this._pendingReactionChangeCallback = resolve); @@ -181,7 +180,6 @@ export class BaseMessageTile extends SimpleTile { } else { log.set("no_reaction", true); } - }); } _updateReactions() {