From 6a577423433e3185dc3b45cafe48f51e54f33eaf Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 30 May 2017 14:19:33 +0100 Subject: [PATCH] managed to eat the eventStatus check, can't redact a local-echo etc Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/context_menus/MessageContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index 56758b2f..5445fd4f 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -161,7 +161,7 @@ module.exports = React.createClass({ ); } - if (this.state.canRedact) { + if (!eventStatus && this.state.canRedact) { redactButton = (
{ _t('Remove') }