mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 10:42:54 +08:00
Use ChannelManager.JoinChannel()
This commit is contained in:
parent
4eedd82032
commit
ea5eaba0a9
@ -108,7 +108,9 @@ namespace osu.Game.Tests.Visual.Online
|
||||
AddRange(new Drawable[] { ChannelManager, ChatOverlay, NotificationOverlay, MessageNotifier });
|
||||
|
||||
((BindableList<Channel>)ChannelManager.AvailableChannels).AddRange(channels);
|
||||
((BindableList<Channel>)ChannelManager.JoinedChannels).AddRange(channels);
|
||||
|
||||
foreach (var channel in channels)
|
||||
ChannelManager.JoinChannel(channel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user