1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-21 07:33:12 +08:00

Whitespace fixes

This commit is contained in:
Angela Zhang 2020-12-17 18:43:39 -06:00
parent 454c7538c0
commit 45482e8709
2 changed files with 5 additions and 6 deletions

View File

@ -459,8 +459,7 @@ namespace osu.Game.Online.Chat
long lastClosedChannelId = closedChannelIds.Last();
closedChannelIds.RemoveAt(closedChannelIds.Count - 1);
bool lookupCondition(Channel ch) =>
ch.Type == ChannelType.PM
bool lookupCondition(Channel ch) => ch.Type == ChannelType.PM
? ch.Users.Any(u => u.Id == lastClosedChannelId)
: ch.Id == lastClosedChannelId;