From 06cbe325457b38e44eba01f89973c7d079ad7c41 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 27 May 2020 16:05:14 +0100 Subject: [PATCH] Tweaks --- syncapi/sync/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncapi/sync/notifier.go b/syncapi/sync/notifier.go index 6b6200a8c..8d63fa688 100644 --- a/syncapi/sync/notifier.go +++ b/syncapi/sync/notifier.go @@ -175,7 +175,7 @@ func (n *Notifier) setUsersJoinedToRooms(roomIDToUserIDs map[string][]string) { func (n *Notifier) wakeupUsers(userIDs []string, newPos types.StreamingToken) { for _, userID := range userIDs { - for deviceID, stream := range n.fetchUserStreams(userID) { + for _, stream := range n.fetchUserStreams(userID) { if stream != nil { stream.Broadcast(newPos) // wake up all goroutines Wait()ing on this stream }