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:
parent
243c2bc9b4
commit
ef94eff574
@ -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)
|
||||
{
|
||||
|
@ -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();
|
Loading…
Reference in New Issue
Block a user