diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-06-27 16:42:26 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-06-27 16:42:26 -0400 |
| commit | bbac9ff67e60d243dbd05be60abfcf13c295cd84 (patch) | |
| tree | fdf34a0f712e3feb97b014eb51a90172c837e88d /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | d3e02e918d5586b0b8c74f1b79a13b76a978defd (diff) | |
GetDeviceOptions always returns an instance of DeviceOptions
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 40a346e95..ac730fa43 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -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; } |
