mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
Merge pull request #7021 from cvium/baseitem_closure
This commit is contained in:
commit
db46eaa744
|
@ -2739,7 +2739,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool Equals(BaseItem other) => Equals(Id, other?.Id);
|
||||
public bool Equals(BaseItem other) => Id == other?.Id;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override int GetHashCode() => HashCode.Combine(Id);
|
||||
|
|
Loading…
Reference in a new issue