From 3d61e0ba1363e467cbc9548ae68aa18efd55e712 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 25 May 2017 12:28:35 +0100 Subject: [PATCH] Avoid 'preceeded' --- .../matrix-org/dendrite/clientapi/producers/roomserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go b/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go index c05da98d2..b1c390127 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go +++ b/src/github.com/matrix-org/dendrite/clientapi/producers/roomserver.go @@ -57,7 +57,7 @@ func (c *RoomserverProducer) SendEvents(events []gomatrixserverlib.Event) error } // SendEventWithState writes an event with KindNew to the roomserver input log -// preceeded by the state at the event as KindOutlier. +// with the state at the event as KindOutlier before it. func (c *RoomserverProducer) SendEventWithState(state gomatrixserverlib.RespState, event gomatrixserverlib.Event) error { outliers, err := state.Events() if err != nil {