Skip to content

The Free Software Media System - Server Backend & API

Merge pull request #383 from Bond-009/unused

Anthony Lavadof2fedb9f34ab
diff --cc Emby.Server.Implementations/Session/SessionManager.cs
index 419c24f136,9911cd0c67..7321e9f86a
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@@ -1574,20 -1577,13 +1574,12 @@@ namespace Emby.Server.Implementations.S
{
session.Capabilities = capabilities;
- if (!string.IsNullOrEmpty(capabilities.PushToken))
- {
- if (string.Equals(capabilities.PushTokenType, "firebase", StringComparison.OrdinalIgnoreCase) && FirebaseSessionController.IsSupported(_appHost))
- {
- EnsureFirebaseController(session, capabilities.PushToken);
- }
- }
-
if (saveCapabilities)
{
- EventHelper.FireEventIfNotNull(CapabilitiesChanged, this, new SessionEventArgs
+ CapabilitiesChanged?.Invoke(this, new SessionEventArgs
{
SessionInfo = session
-
- }, _logger);
+ });
try
{