Skip to content

Commit 8e1dea7

Browse files
authored
Merge pull request element-hq#4078 from vector-im/t3chguy/pl_redact_fix
managed to eat the eventStatus check, can't redact a local-echo etc
2 parents 543f4ef + 6a57742 commit 8e1dea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/views/context_menus/MessageContextMenu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ module.exports = React.createClass({
161161
);
162162
}
163163

164-
if (this.state.canRedact) {
164+
if (!eventStatus && this.state.canRedact) {
165165
redactButton = (
166166
<div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}>
167167
{ _t('Remove') }

0 commit comments

Comments
 (0)