managed to eat the eventStatus check, can't redact a local-echo etc

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-05-30 14:19:33 +01:00
parent 543f4efc37
commit 6a57742343
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 = (
<div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}>
{ _t('Remove') }