diff --git a/src/components/views/messages/EditHistoryMessage.js b/src/components/views/messages/EditHistoryMessage.js index 85a704641a..fef9c362c6 100644 --- a/src/components/views/messages/EditHistoryMessage.js +++ b/src/components/views/messages/EditHistoryMessage.js @@ -37,7 +37,8 @@ export default class EditHistoryMessage extends React.PureComponent { render() { const {mxEvent} = this.props; - const content = mxEvent.event.content["m.new_content"] || mxEvent.event.content; + const originalContent = mxEvent.getOriginalContent(); + const content = originalContent["m.new_content"] || originalContent; const contentElements = HtmlUtils.bodyToHtml(content); let contentContainer; if (mxEvent.getContent().msgtype === "m.emote") {