1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

Add implicit join logic for multiplayer rooms

This commit is contained in:
Dean Herbert 2020-06-03 21:28:29 +09:00
parent 3c7e5a5b42
commit f6d9f0597b

View File

@ -358,6 +358,13 @@ namespace osu.Game.Online.Chat
{
switch (channel.Type)
{
case ChannelType.Multiplayer:
// join is implicit. happens when you join a multiplayer game.
// this will probably change in the future.
channel.Joined.Value = true;
joinChannel(channel, fetchInitialMessages);
return channel;
case ChannelType.Private:
// can't do this yet.
break;