mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-19 21:03:09 -06:00
Tweaks
This commit is contained in:
parent
792e04d69d
commit
06cbe32545
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue