From 59f4745ca5bf0670bc81c18e2fe2ed1e1cd30689 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 7 Jun 2017 14:53:39 +0100 Subject: [PATCH] Fix spelling --- .../matrix-org/dendrite/syncapi/storage/syncserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/storage/syncserver.go b/src/github.com/matrix-org/dendrite/syncapi/storage/syncserver.go index 7a74abc71..b97cd548e 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/storage/syncserver.go +++ b/src/github.com/matrix-org/dendrite/syncapi/storage/syncserver.go @@ -358,7 +358,7 @@ func (d *SyncServerDatabase) fetchMissingStateEvents(txn *sql.Tx, eventIDs []str return nil, fmt.Errorf("failed to map all event IDs to events: (got %d, wanted %d)", len(stateEvents), len(missing)) } for _, e := range stateEvents { - // Set the stream position to 0 since these events occured outside the + // Set the stream position to 0 since these events occurred outside the // stream so probably happened before it. // TOOD: What happens if we receive a state event from outside the // timeline associated with an event in the middle of the timeline?