From 4ab530b72a73ad1b65d383d8fed4a0379a161525 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 18 Oct 2017 11:32:00 +0100 Subject: [PATCH] Remove bogus comment --- src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go b/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go index 3210a7d8b..11b07f23d 100644 --- a/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go +++ b/src/github.com/matrix-org/dendrite/syncapi/sync/notifier.go @@ -121,7 +121,6 @@ func (n *Notifier) GetNotifyChannel( // TODO: v1 /events 'peeking' has an 'explicit room ID' which is also tracked, // but given we don't do /events, let's pretend it doesn't exist. - // In a guard, check if the /sync request should block, and block it until we get woken up n.streamLock.Lock() defer n.streamLock.Unlock()