diff options
| author | Christopher Young <c.t.ythegamer@gmail.com> | 2025-09-30 12:27:25 -0600 |
|---|---|---|
| committer | Christopher Young <c.t.ythegamer@gmail.com> | 2025-09-30 12:27:25 -0600 |
| commit | d6a1c8413c6a213f6e579246c1b85aad9b028b3a (patch) | |
| tree | f97b0fbab4ca90358983402ecec7a2a2f9a3be5a /Emby.Server.Implementations | |
| parent | 4849486fa0c5cecd5441253be72024e0bcc72ed9 (diff) | |
fixed logic in HasAccessToQueue. If we receive a null response from IsVisibleStandalone then it should be false
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/SyncPlay/Group.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SyncPlay/Group.cs b/Emby.Server.Implementations/SyncPlay/Group.cs index c2e834ad58..0095ba0a37 100644 --- a/Emby.Server.Implementations/SyncPlay/Group.cs +++ b/Emby.Server.Implementations/SyncPlay/Group.cs @@ -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; } |
