mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #6089 from BaronGreenback/IsRoot_fix
Set UserRootFolder.IsRoot to true
This commit is contained in:
commit
66659b0842
|
@ -44,6 +44,14 @@ namespace MediaBrowser.Controller.Entities
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="UserRootFolder"/> class.
|
||||||
|
/// </summary>
|
||||||
|
public UserRootFolder()
|
||||||
|
{
|
||||||
|
IsRoot = true;
|
||||||
|
}
|
||||||
|
|
||||||
protected override List<BaseItem> LoadChildren()
|
protected override List<BaseItem> LoadChildren()
|
||||||
{
|
{
|
||||||
lock (_childIdsLock)
|
lock (_childIdsLock)
|
||||||
|
|
Loading…
Reference in New Issue