From 5984e8dd6d3e1b4b61a796f9043b0a0fe58982b1 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 24 Jun 2021 14:49:43 +0200 Subject: [PATCH] don't show reactions for redacted messages --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index 897804bb..8fe6f792 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -115,7 +115,9 @@ export class BaseMessageTile extends SimpleTile { } get reactions() { - return this._reactions; + if (this.shape !== "redacted") { + return this._reactions; + } } get canReact() {