mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 04:04:47 +03:00
Merge pull request #383 from Bond-009/unused
Remove firebase and empty resource config file
This commit is contained in:
@@ -1574,14 +1574,6 @@ namespace Emby.Server.Implementations.Session
|
||||
{
|
||||
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)
|
||||
{
|
||||
CapabilitiesChanged?.Invoke(this, new SessionEventArgs
|
||||
@@ -1600,11 +1592,6 @@ namespace Emby.Server.Implementations.Session
|
||||
}
|
||||
}
|
||||
|
||||
private void EnsureFirebaseController(SessionInfo session, string token)
|
||||
{
|
||||
session.EnsureController<FirebaseSessionController>(s => new FirebaseSessionController(_httpClient, _appHost, _jsonSerializer, s, token, this));
|
||||
}
|
||||
|
||||
private ClientCapabilities GetSavedCapabilities(string deviceId)
|
||||
{
|
||||
return _deviceManager.GetCapabilities(deviceId);
|
||||
|
||||
Reference in New Issue
Block a user