mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-05 17:56:18 +00:00
GetDeviceOptions always returns an instance of DeviceOptions
This commit is contained in:
@@ -535,7 +535,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user