2
0
Эх сурвалжийг харах

Correctly handle devices without custom names

Patrick Barron 4 жил өмнө
parent
commit
373155a063

+ 1 - 1
Emby.Server.Implementations/Session/SessionManager.cs

@@ -532,7 +532,7 @@ namespace Emby.Server.Implementations.Session
             }
 
             var deviceOptions = await _deviceManager.GetDeviceOptions(deviceId).ConfigureAwait(false);
-            if (string.IsNullOrEmpty(deviceOptions.CustomName))
+            if (string.IsNullOrEmpty(deviceOptions?.CustomName))
             {
                 sessionInfo.DeviceName = deviceName;
             }