1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:43:21 +08:00

Add missing request handling to actually join PM channels

This commit is contained in:
Dean Herbert 2022-06-28 18:11:30 +09:00
parent 21d31ee218
commit ed1b809f54

View File

@ -78,6 +78,14 @@ namespace osu.Game.Tests.Visual.Online
{
switch (req)
{
case CreateChannelRequest createRequest:
createRequest.TriggerSuccess(new APIChatChannel
{
ChannelID = ((int)createRequest.Channel.Id),
RecentMessages = new List<Message>()
});
return true;
case GetUpdatesRequest getUpdates:
getUpdates.TriggerFailure(new WebException());
return true;