From b6440a198aed99021e7d6d0e9f4b03ea58efa2ae Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 20 Oct 2017 15:33:46 +0100 Subject: [PATCH] Comments --- src/github.com/matrix-org/dendrite/syncapi/sync/userstream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/sync/userstream.go b/src/github.com/matrix-org/dendrite/syncapi/sync/userstream.go index d4a8b29e2..a3f2b4739 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/sync/userstream.go +++ b/src/github.com/matrix-org/dendrite/syncapi/sync/userstream.go @@ -55,8 +55,8 @@ func NewUserStream(userID string, currPos types.StreamPosition) *UserStream { } } -// GetListener returns UserStreamListener a sync request can use to wait for -// new updates. +// GetListener returns UserStreamListener that a sync request can use to wait +// for new updates with. // sincePos specifies from which point we want to be notified about // UserStreamListener must be closed func (s *UserStream) GetListener(sincePos types.StreamPosition) UserStreamListener {