mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 08:33:55 +09:00
Formatting fixes
Fixed some formatting issues to comply with InspectCode.
This commit is contained in:
@ -456,6 +456,7 @@ namespace osu.Game.Online.Chat
|
|||||||
string lastClosedChannelName = closedChannels.Last();
|
string lastClosedChannelName = closedChannels.Last();
|
||||||
closedChannels.RemoveAt(closedChannels.Count - 1);
|
closedChannels.RemoveAt(closedChannels.Count - 1);
|
||||||
bool alreadyJoined = false;
|
bool alreadyJoined = false;
|
||||||
|
|
||||||
// If the user already joined the channel, do not
|
// If the user already joined the channel, do not
|
||||||
// try to join it
|
// try to join it
|
||||||
for (int j = 0; j < joinedChannels.Count; j++)
|
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);
|
Channel lastClosedChannel = AvailableChannels.FirstOrDefault(c => c.Name == lastClosedChannelName);
|
||||||
|
|
||||||
if (lastClosedChannel == null)
|
if (lastClosedChannel != null)
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
JoinChannel(lastClosedChannel);
|
JoinChannel(lastClosedChannel);
|
||||||
return;
|
return;
|
||||||
@ -484,8 +481,6 @@ namespace osu.Game.Online.Chat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private long lastMessageId;
|
private long lastMessageId;
|
||||||
|
|
||||||
private bool channelsInitialised;
|
private bool channelsInitialised;
|
||||||
|
Reference in New Issue
Block a user