diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 5c68d4d206..9251ff2bdb 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -422,8 +422,6 @@ module.exports = React.createClass({ }, _getTilesForEvent: function(prevEvent, mxEv, last) { - if (mxEv.isRedacted() && this.props.hideRedactions) return []; - const EventTile = sdk.getComponent('rooms.EventTile'); const DateSeparator = sdk.getComponent('messages.DateSeparator'); var ret = []; @@ -468,6 +466,8 @@ module.exports = React.createClass({ continuation = false; } + if (mxEv.isRedacted() && this.props.hideRedactions) return ret; + var eventId = mxEv.getId(); var highlight = (eventId == this.props.highlightedEventId);