1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 08:22:56 +08:00

Use ChannelManager.JoinChannel()

This commit is contained in:
Craftplacer 2020-02-03 23:05:46 +01:00
parent 4eedd82032
commit ea5eaba0a9

View File

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