Better CSS for redactions
See https://github.com/vector-im/riot-web/issues/3390 Also: The "Redact" option in the MessageContextMenu no longer appears for redacted events.
This commit is contained in:
parent
2efcf7023f
commit
49be954d31
2 changed files with 8 additions and 9 deletions
|
@ -121,7 +121,7 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (!eventStatus) { // sent
|
||||
if (!eventStatus && !this.props.mxEvent.isRedacted()) { // sent and not redacted
|
||||
redactButton = (
|
||||
<div className="mx_MessageContextMenu_field" onClick={this.onRedactClick}>
|
||||
Redact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue