mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Style fixes
This commit is contained in:
@ -62,7 +62,6 @@ namespace osu.Game.Online.Chat
|
||||
[Resolved]
|
||||
private IAPIProvider api { get; set; }
|
||||
|
||||
|
||||
[Resolved]
|
||||
private UserLookupCache users { get; set; }
|
||||
|
||||
@ -587,11 +586,11 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
public bool IsEqual(Channel channel)
|
||||
{
|
||||
if (channel.Type != this.Type) return false;
|
||||
if (channel.Type != Type) return false;
|
||||
|
||||
return this.Type == ChannelType.PM
|
||||
? channel.Users.Single().Id == this.Id
|
||||
: channel.Id == this.Id;
|
||||
return Type == ChannelType.PM
|
||||
? channel.Users.Single().Id == Id
|
||||
: channel.Id == Id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user