Merge pull request #4078 from vector-im/t3chguy/pl_redact_fix

managed to eat the eventStatus check, can't redact a local-echo etc
pull/4079/head
Matthew Hodgson 2017-05-30 14:21:41 +01:00 committed by GitHub
commit 8e1dea7bd1
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ module.exports = React.createClass({
); );
} }
if (this.state.canRedact) { if (!eventStatus && this.state.canRedact) {
redactButton = ( redactButton = (
<div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}> <div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}>
{ _t('Remove') } { _t('Remove') }