aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorpokreman06 <112423673+pokreman06@users.noreply.github.com>2025-10-10 10:35:46 -0600
committerGitHub <noreply@github.com>2025-10-10 10:35:46 -0600
commitc08b1a4595da47e16ae57829b4e95fcaffe81e8b (patch)
treeeab4d45829230238f52528910857d447fce64cbc /Emby.Server.Implementations
parent622b60064dd2c9bf6cea139ab2056011d9e9c203 (diff)
Update Emby.Server.Implementations/SyncPlay/Group.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/SyncPlay/Group.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SyncPlay/Group.cs b/Emby.Server.Implementations/SyncPlay/Group.cs
index 1142a2f0af..38a0018a70 100644
--- a/Emby.Server.Implementations/SyncPlay/Group.cs
+++ b/Emby.Server.Implementations/SyncPlay/Group.cs
@@ -207,7 +207,7 @@ namespace Emby.Server.Implementations.SyncPlay
{
var item = _libraryManager.GetItemById(itemId);
- if (!item?.IsVisibleStandalone(user) ?? true)
+ if (item is null || !item.IsVisibleStandalone(user))
{
return false;
}