Formatting fixes

Fixed some formatting issues to comply with InspectCode.
This commit is contained in:
Joseph-Ramos-CMU
2020-12-16 12:56:36 -05:00
parent 2f8a085adf
commit b37a983fbf

View File

@ -456,6 +456,7 @@ namespace osu.Game.Online.Chat
string lastClosedChannelName = closedChannels.Last();
closedChannels.RemoveAt(closedChannels.Count - 1);
bool alreadyJoined = false;
// If the user already joined the channel, do not
// try to join it
for (int j = 0; j < joinedChannels.Count; j++)
@ -471,11 +472,7 @@ namespace osu.Game.Online.Chat
{
Channel lastClosedChannel = AvailableChannels.FirstOrDefault(c => c.Name == lastClosedChannelName);
if (lastClosedChannel == null)
{
continue;
}
else
if (lastClosedChannel != null)
{
JoinChannel(lastClosedChannel);
return;
@ -484,8 +481,6 @@ namespace osu.Game.Online.Chat
}
}
private long lastMessageId;
private bool channelsInitialised;