mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #4078 from vector-im/t3chguy/pl_redact_fix
managed to eat the eventStatus check, can't redact a local-echo etc
This commit is contained in:
commit
8e1dea7bd1
@ -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') }
|
||||
|
Loading…
Reference in New Issue
Block a user