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:
parent
3c7e5a5b42
commit
f6d9f0597b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user