mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Fix a bug in Emby.Notifications and clean up
This commit is contained in:
@@ -2760,14 +2760,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return this;
|
||||
}
|
||||
|
||||
foreach (var parent in GetParents())
|
||||
{
|
||||
if (parent.IsTopParent)
|
||||
{
|
||||
return parent;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
return GetParents().FirstOrDefault(parent => parent.IsTopParent);
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user