mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-19 06:00:41 +01:00
fixed logic in HasAccessToQueue. If we receive a null response from IsVisibleStandalone then it should be false
This commit is contained in:
@@ -206,7 +206,7 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
foreach (var itemId in queue)
|
||||
{
|
||||
var item = _libraryManager.GetItemById(itemId);
|
||||
if (!item.IsVisibleStandalone(user))
|
||||
if (!item?.IsVisibleStandalone(user) ?? false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user