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 = (
{ _t('Resend edit') }
@@ -263,7 +265,7 @@ module.exports = React.createClass({ } if (redactStatus === EventStatus.NOT_SENT) { - resendButton = ( + resendRedactionButton = (
{ _t('Resend removal') }
@@ -380,6 +382,9 @@ module.exports = React.createClass({ return (
{ resendButton } + { resendEditButton } + { resendReactionsButton } + { resendRedactionButton } { redactButton } { cancelButton } { forwardButton }