Comment on why we want the state after the previous events

This commit is contained in:
Mark Haines 2017-03-06 18:48:44 +00:00
parent 2763649fed
commit ece677c87a

View file

@ -25,6 +25,7 @@ func calculateAndStoreStateBeforeEvent(
return 0, err
}
// The state before this event will be the state after the events that came before it.
return calculateAndStoreStateAfterEvents(db, roomNID, prevStates)
}