diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 15c7c92504..2443a06128 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -351,16 +351,16 @@ module.exports = React.createClass({ break; } - // Ignore redacted member events - if (!this._shouldShowEvent(collapsedMxEv)) { - continue; - } - // If RM event is in MELS mark it as such and the RM will be appended after MELS. if (collapsedMxEv.getId() === this.props.readMarkerEventId) { readMarkerInMels = true; } + // Ignore redacted member events + if (!this._shouldShowEvent(collapsedMxEv)) { + continue; + } + summarisedEvents.push(collapsedMxEv); } // At this point, i = the index of the last event in the summary sequence