aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Eßlinger <github@esslinger.dev>2020-10-01 22:48:42 +0200
committerGitHub <noreply@github.com>2020-10-01 22:48:42 +0200
commitd10090b394371e6b588a08b453a1dfb177e90ca1 (patch)
tree38003dbd229fed85b8fe8943a266dc36ca6d5fbb
parent4b4c74bdcd2ffd119f930226179360907c15fd74 (diff)
fix: remove unused null check
Co-authored-by: Cody Robibero <cody@robibe.ro>
-rw-r--r--Jellyfin.Api/Controllers/SessionController.cs2
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