From e4189ef75d27755681684b67a523d0805df63043 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 6 Mar 2017 18:06:02 +0000 Subject: [PATCH] Be more explicit on what the snapshot is --- src/github.com/matrix-org/dendrite/roomserver/input/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {