diff options
| author | Simon Eßlinger <github@esslinger.dev> | 2020-10-01 22:48:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-01 22:48:42 +0200 |
| commit | d10090b394371e6b588a08b453a1dfb177e90ca1 (patch) | |
| tree | 38003dbd229fed85b8fe8943a266dc36ca6d5fbb /Jellyfin.Api/Controllers/SessionController.cs | |
| parent | 4b4c74bdcd2ffd119f930226179360907c15fd74 (diff) | |
fix: remove unused null check
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs index 68cec1415..0ae49ea98 100644 --- a/Jellyfin.Api/Controllers/SessionController.cs +++ b/Jellyfin.Api/Controllers/SessionController.cs @@ -392,7 +392,7 @@ namespace Jellyfin.Api.Controllers _sessionManager.ReportCapabilities(id, new ClientCapabilities { PlayableMediaTypes = RequestHelpers.Split(playableMediaTypes, ',', true), - SupportedCommands = supportedCommands == null ? Array.Empty<GeneralCommandType>() : supportedCommands, + SupportedCommands = supportedCommands, SupportsMediaControl = supportsMediaControl, SupportsSync = supportsSync, SupportsPersistentIdentifier = supportsPersistentIdentifier |
