From fd0ba912f7724fb6c7e8f17d19c37a4d5f993196 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 22 Nov 2017 09:36:06 +0000 Subject: [PATCH] Fix typo --- src/github.com/matrix-org/dendrite/syncapi/sync/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/sync/request.go b/src/github.com/matrix-org/dendrite/syncapi/sync/request.go index 9fa4900b0..7f5259814 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/sync/request.go +++ b/src/github.com/matrix-org/dendrite/syncapi/sync/request.go @@ -70,7 +70,7 @@ func getTimeout(timeoutMS string) time.Duration { return time.Duration(i) * time.Millisecond } -// getSyncStreamPosition tries to pass a 'since' token taken from the API to a +// getSyncStreamPosition tries to parse a 'since' token taken from the API to a // stream position. If the string is empty then (nil, nil) is returned. func getSyncStreamPosition(since string) (*types.StreamPosition, error) { if since == "" {