mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
Comment on why we want the state after the previous events
This commit is contained in:
parent
2763649fed
commit
ece677c87a
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue