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:
parent
5ec615c783
commit
acb181ff2b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user