From c422a1fdc1d782c0ebe0939a17755709fd9236da Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 21 Feb 2017 12:58:57 +0000 Subject: [PATCH] Spelling --- src/github.com/matrix-org/dendrite/roomserver/input/events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/input/events.go b/src/github.com/matrix-org/dendrite/roomserver/input/events.go index fce396342..4a0c82ec9 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/input/events.go +++ b/src/github.com/matrix-org/dendrite/roomserver/input/events.go @@ -34,7 +34,7 @@ type RoomEventDatabase interface { AddState(roomNID types.RoomNID, stateBlockNIDs []types.StateBlockNID, state []types.StateEntry) (types.StateSnapshotNID, error) // Set the state at an event. SetState(eventNID types.EventNID, stateNID types.StateSnapshotNID) error - // Lookup the latests events in a room in preperation for an update. + // Lookup the latest events in a room in preparation for an update. // The RoomRecentEventsUpdater must be closed if this doesn't return an error. // If this returns an error then no further action is required. GetLatestEventsForUpdate(roomNID types.RoomNID) ([]types.StateAtEventAndReference, types.RoomRecentEventsUpdater, error)