diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index adc78d7032..6f21bb6951 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -526,6 +526,7 @@ module.exports = React.createClass({ ; }, }); diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 404a0f0889..deb3c5cc0f 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -137,6 +137,7 @@ module.exports = React.createClass({ // exploit that events are immutable :) return (nextProps.mxEvent.getId() !== this.props.mxEvent.getId() || nextProps.highlights !== this.props.highlights || + nextProps.replacingEventId !== this.props.replacingEventId || nextProps.highlightLink !== this.props.highlightLink || nextProps.showUrlPreview !== this.props.showUrlPreview || nextState.links !== this.state.links || diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 1706019e94..f38e3c3946 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -779,6 +779,7 @@ module.exports = withMatrixClient(React.createClass({ { thread } { const isLast = i === lines.length - 1; const text = new PlainPart(line); diff --git a/src/shouldHideEvent.js b/src/shouldHideEvent.js index 47c901cd9f..3a1e51c610 100644 --- a/src/shouldHideEvent.js +++ b/src/shouldHideEvent.js @@ -45,6 +45,7 @@ export default function shouldHideEvent(ev) { // Hide redacted events if (ev.isRedacted() && !isEnabled('showRedactions')) return true; + if (ev.isRelation("m.replace")) return true; const eventDiff = memberEventDiff(ev);