diff --git a/osu.Game.Tests/Visual/TestCaseChatLink.cs b/osu.Game.Tests/Visual/TestCaseChatLink.cs
index 66a28c5ee8..e79e52c890 100644
--- a/osu.Game.Tests/Visual/TestCaseChatLink.cs
+++ b/osu.Game.Tests/Visual/TestCaseChatLink.cs
@@ -51,11 +51,11 @@ namespace osu.Game.Tests.Visual
}
[BackgroundDependencyLoader]
- private void load(OsuColour colours, IAPIProvider api)
+ private void load(OsuColour colours)
{
linkColour = colours.Blue;
- var chatManager = new ChannelManager(Scheduler);
+ var chatManager = new ChannelManager();
chatManager.AvailableChannels.Add(new Channel { Name = "#english"});
chatManager.AvailableChannels.Add(new Channel { Name = "#japanese" });
dependencies.Cache(chatManager);
diff --git a/osu.Game/Online/Chat/ChannelManager.cs b/osu.Game/Online/Chat/ChannelManager.cs
index 2d75881910..ea4d746bac 100644
--- a/osu.Game/Online/Chat/ChannelManager.cs
+++ b/osu.Game/Online/Chat/ChannelManager.cs
@@ -20,7 +20,7 @@ namespace osu.Game.Online.Chat
///
/// Manages everything channel related
///
- public class ChannelManager : Component, IOnlineComponent,
+ public class ChannelManager : Component, IOnlineComponent
{
///
/// The channels the player joins on startup
@@ -284,7 +284,6 @@ namespace osu.Game.Online.Chat
fetchChannelMsgReq?.Cancel();
fetchChannelMsgReq = null;
fetchMessagesScheduleder?.Cancel();
-
break;
}
}