diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index 2d4004e065..fd99ed5f6b 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -233,6 +233,8 @@ module.exports = React.createClass({ const editStatus = mxEvent.replacingEvent() && mxEvent.replacingEvent().status; const redactStatus = mxEvent.localRedactionEvent() && mxEvent.localRedactionEvent().status; let resendButton; + let resendEditButton; + let resendRedactionButton; let redactButton; let cancelButton; let forwardButton; @@ -255,7 +257,7 @@ module.exports = React.createClass({ } if (editStatus === EventStatus.NOT_SENT) { - resendButton = ( + resendEditButton = (