Only show a redaction tile for messages
This commit is contained in:
parent
6c32e3720b
commit
5ef61b7c35
3 changed files with 12 additions and 8 deletions
|
@ -246,10 +246,6 @@ module.exports = React.createClass({
|
|||
var mxEvent = this.props.mxEvent;
|
||||
var content = mxEvent.getContent();
|
||||
|
||||
if (mxEvent.isRedacted()) {
|
||||
content = {body: "Message redacted by " + mxEvent.event.redacted_because.sender};
|
||||
}
|
||||
|
||||
var body = HtmlUtils.bodyToHtml(content, this.props.highlights, {});
|
||||
|
||||
if (this.props.highlightLink) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue