From a1d24894ebc56321eec5d0da08e64402d0c4f77c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 23 Jun 2021 11:45:24 +0200 Subject: [PATCH] this will block if we have a pending redaction & reaction so the reaction won't be aborted --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index 5dad667c..edd3370f 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -139,11 +139,6 @@ export class BaseMessageTile extends SimpleTile { redactReaction(key, log = null) { return this.logger.wrapOrRun(log, "redactReaction", async log => { - const redaction = this._entry.getAnnotationPendingRedaction(key); - if (redaction) { - log.set("already_redacting", true); - return; - } const entry = await this._entry.getOwnAnnotationEntry(this._timeline, key); if (entry) { const updatePromise = new Promise(resolve => this._pendingReactionChangeCallback = resolve);