From f000e986194be7bc966f66188e35dcccee070133 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 17 Jun 2021 16:48:58 +0200 Subject: [PATCH] no point in reacting to redacted messages --- src/platform/web/ui/session/room/timeline/BaseMessageView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/timeline/BaseMessageView.js b/src/platform/web/ui/session/room/timeline/BaseMessageView.js index c33eeae4..c5d860f2 100644 --- a/src/platform/web/ui/session/room/timeline/BaseMessageView.js +++ b/src/platform/web/ui/session/room/timeline/BaseMessageView.js @@ -110,7 +110,7 @@ export class BaseMessageView extends TemplateView { createMenuOptions(vm) { const options = []; - if (vm.canReact) { + if (vm.canReact && vm.shape !== "redacted") { options.push(new QuickReactionsMenuOption(vm)); } if (vm.canAbortSending) {