diff --git a/src/github.com/matrix-org/dendrite/roomserver/input/state.go b/src/github.com/matrix-org/dendrite/roomserver/input/state.go index f4b095355..9e27cd723 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/input/state.go +++ b/src/github.com/matrix-org/dendrite/roomserver/input/state.go @@ -9,7 +9,7 @@ import ( // calculateAndStoreState calculates a snapshot of the state of a room before an event. // Stores the snapshot of the state in the database. -// Returns a numeric ID for that snapshot. +// Returns a numeric ID for the snapshot of the state before the event. func calculateAndStoreStateBeforeEvent( db RoomEventDatabase, event gomatrixserverlib.Event, roomNID types.RoomNID, ) (types.StateSnapshotNID, error) {