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

rename alreadyJoinedChannel -> privateChannel

This commit is contained in:
Davran Dilshat 2021-09-10 08:15:43 +01:00
parent 5ec615c783
commit acb181ff2b

View File

@ -266,12 +266,12 @@ namespace osu.Game.Online.Chat
}
// Check if the user has joined requested channel already.
var alreadyJoinedChannel = JoinedChannels.FirstOrDefault(
var privateChannel = JoinedChannels.FirstOrDefault(
c => c.Type == ChannelType.PM && c.Users.Count == 1 && c.Name.Equals(content, StringComparison.OrdinalIgnoreCase));
if (alreadyJoinedChannel != null)
if (privateChannel != null)
{
CurrentChannel.Value = alreadyJoinedChannel;
CurrentChannel.Value = privateChannel;
break;
}