don't show reply fallback in edit history

This commit is contained in:
Bruno Windels 2019-07-08 15:32:38 +02:00
parent 888e4d1ec2
commit e601037cd2

View file

@ -119,7 +119,7 @@ export default class EditHistoryMessage extends React.PureComponent {
const {mxEvent} = this.props;
const originalContent = mxEvent.getOriginalContent();
const content = originalContent["m.new_content"] || originalContent;
const contentElements = HtmlUtils.bodyToHtml(content);
const contentElements = HtmlUtils.bodyToHtml(content, null, {stripReplyFallback: true});
let contentContainer;
if (mxEvent.isRedacted()) {
const UnknownBody = sdk.getComponent('messages.UnknownBody');