mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-18 21:50:25 +01:00
added tests
This commit is contained in:
@@ -206,7 +206,8 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
foreach (var itemId in queue)
|
||||
{
|
||||
var item = _libraryManager.GetItemById(itemId);
|
||||
if (!item?.IsVisibleStandalone(user) ?? false)
|
||||
|
||||
if (!item?.IsVisibleStandalone(user) ?? true)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user