mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
don't show reply fallback in edit history
This commit is contained in:
parent
888e4d1ec2
commit
e601037cd2
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default class EditHistoryMessage extends React.PureComponent {
|
||||||
const {mxEvent} = this.props;
|
const {mxEvent} = this.props;
|
||||||
const originalContent = mxEvent.getOriginalContent();
|
const originalContent = mxEvent.getOriginalContent();
|
||||||
const content = originalContent["m.new_content"] || originalContent;
|
const content = originalContent["m.new_content"] || originalContent;
|
||||||
const contentElements = HtmlUtils.bodyToHtml(content);
|
const contentElements = HtmlUtils.bodyToHtml(content, null, {stripReplyFallback: true});
|
||||||
let contentContainer;
|
let contentContainer;
|
||||||
if (mxEvent.isRedacted()) {
|
if (mxEvent.isRedacted()) {
|
||||||
const UnknownBody = sdk.getComponent('messages.UnknownBody');
|
const UnknownBody = sdk.getComponent('messages.UnknownBody');
|
||||||
|
|
Loading…
Reference in a new issue