aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session/SessionWebSocketListener.cs
diff options
context:
space:
mode:
authorRyan Petris <ryan@petris.net>2020-11-15 19:55:30 -0700
committerRyan Petris <ryan@petris.net>2020-11-15 19:55:30 -0700
commit8204b25a56af7ddb20497f3d7ad8e1d8daaff7ca (patch)
treef8da813808df73670baa4eecfc67db319783aaa1 /Emby.Server.Implementations/Session/SessionWebSocketListener.cs
parent81d5eb4db5918debe3194236288492f26ad135bb (diff)
parent8d1d77db94a4fcfc6d8a37b38100ce0b7267690b (diff)
Merge branch 'master' into fix-hdhomerun
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionWebSocketListener.cs')
-rw-r--r--Emby.Server.Implementations/Session/SessionWebSocketListener.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionWebSocketListener.cs b/Emby.Server.Implementations/Session/SessionWebSocketListener.cs
index 15c2af220..a5f847953 100644
--- a/Emby.Server.Implementations/Session/SessionWebSocketListener.cs
+++ b/Emby.Server.Implementations/Session/SessionWebSocketListener.cs
@@ -8,6 +8,7 @@ using Jellyfin.Data.Events;
using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Net;
+using MediaBrowser.Model.Session;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
@@ -316,7 +317,7 @@ namespace Emby.Server.Implementations.Session
return webSocket.SendAsync(
new WebSocketMessage<int>
{
- MessageType = "ForceKeepAlive",
+ MessageType = SessionMessageType.ForceKeepAlive,
Data = WebSocketLostTimeout
},
CancellationToken.None);