Comment on i after membershipchanges

pull/21833/head
Luke Barnard 2016-11-10 13:14:04 +00:00
parent 0ec5eebfc9
commit 764959ec1c
1 changed files with 3 additions and 0 deletions

View File

@ -305,6 +305,9 @@ 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
let renderEvents = (pEvent, events) => {
if (events.length === 0) {
return null;