1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 10:50:55 +08:00

Add back autojoins

This commit is contained in:
Dean Herbert
2018-09-28 19:33:35 +09:00
Unverified
parent 3cacc11af1
commit 862d3c4a69
+2 -4
View File
@@ -305,10 +305,8 @@ namespace osu.Game.Overlays
Scheduler.Add(delegate
{
//todo: decide how to handle default channels for a user now that they are saved server-side.
// we likely don't want to re-join every startup like this.
//addChannel(channels.Find(c => c.Name == @"#lazer"));
//addChannel(channels.Find(c => c.Name == @"#osu"));
//addChannel(channels.Find(c => c.Name == @"#lobby"));
addChannel(channels.Find(c => c.Name == @"#lazer"));
addChannel(channels.Find(c => c.Name == @"#osu"));
channelSelection.OnRequestJoin = addChannel;
channelSelection.OnRequestLeave = removeChannel;