mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update other usages of online ID comparisons to use new extension method
This commit is contained in:
@ -7,6 +7,7 @@ using System.Linq;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Game.Extensions;
|
||||
using osu.Game.Users;
|
||||
|
||||
namespace osu.Game.Online.API.Requests.Responses
|
||||
@ -240,6 +241,6 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
|
||||
public int OnlineID => Id;
|
||||
|
||||
public bool Equals(APIUser other) => OnlineID == other?.OnlineID;
|
||||
public bool Equals(APIUser other) => this.MatchesOnlineID(other);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user