Merge pull request #6089 from BaronGreenback/IsRoot_fix

Set UserRootFolder.IsRoot to true
This commit is contained in:
Claus Vium 2021-09-05 15:25:40 +02:00 committed by GitHub
commit 66659b0842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
{
lock (_childIdsLock)