1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 06:32:36 +08:00

Correctly stop watching users that leave

This commit is contained in:
Dean Herbert
2020-10-22 19:16:34 +09:00
Unverified
parent 34e889e66e
commit d659b7739d
@@ -55,6 +55,11 @@ namespace osu.Game.Tests.Visual.Gameplay
foreach (int user in args.NewItems)
streamingClient.WatchUser(user);
break;
case NotifyCollectionChangedAction.Remove:
foreach (int user in args.OldItems)
streamingClient.StopWatchingUser(user);
break;
}
}, true);