From e601037cd27e9bbb17d05639371b421eb5d4f25c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 8 Jul 2019 15:32:38 +0200 Subject: [PATCH] don't show reply fallback in edit history --- src/components/views/messages/EditHistoryMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/messages/EditHistoryMessage.js b/src/components/views/messages/EditHistoryMessage.js index 797e010aae..44d98abc0a 100644 --- a/src/components/views/messages/EditHistoryMessage.js +++ b/src/components/views/messages/EditHistoryMessage.js @@ -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');