From d2d7ebc97910e1ea47b8cd14b41af6527d719c25 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 10 Nov 2016 17:22:16 +0000 Subject: [PATCH] correct comment --- src/components/structures/MessagePanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index e5cb38b267..ed65314890 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -305,8 +305,8 @@ module.exports = React.createClass({ } summarisedEvents.push(collapsedMxEv); } - // At this point, i = this.props.events.length OR i = the index of the first event - // to NOT be a MembershipChange after a sequence of MembershipChanges + // At this point, i = this.props.events.length OR i = the index of the last + // MembershipChange in a sequence of MembershipChanges let renderEvents = (pEvent, events) => { if (events.length === 0) {