1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Rename PollingChatClientConnector to better describe usage

This commit is contained in:
Dean Herbert 2024-01-29 16:56:28 +09:00
parent 243c2bc9b4
commit ef94eff574
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ namespace osu.Game.Online.API
public IHubClientConnector? GetHubConnector(string clientName, string endpoint, bool preferMessagePack) => null;
public IChatClient GetChatClient() => new PollingChatClientConnector(this);
public IChatClient GetChatClient() => new TestChatClientConnector(this);
public RegistrationRequest.RegistrationRequestErrors? CreateAccount(string email, string username, string password)
{

View File

@ -11,7 +11,7 @@ using osu.Game.Online.Chat;
namespace osu.Game.Tests
{
public class PollingChatClientConnector : PersistentEndpointClientConnector, IChatClient
public class TestChatClientConnector : PersistentEndpointClientConnector, IChatClient
{
public event Action<Channel>? ChannelJoined;
@ -29,7 +29,7 @@ namespace osu.Game.Tests
// don't really need to do anything special if we poll every second anyway.
}
public PollingChatClientConnector(IAPIProvider api)
public TestChatClientConnector(IAPIProvider api)
: base(api)
{
Start();