This commit is contained in:
Neil Alexander 2020-05-27 16:05:14 +01:00
parent 792e04d69d
commit 06cbe32545

View file

@ -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
}