diff options
| author | crobibero <cody@robibe.ro> | 2020-06-17 10:43:04 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-17 10:43:04 -0600 |
| commit | 444605703c91bafdcf1a01d864b7b71bd2a67ddb (patch) | |
| tree | 1eea5b066befbb58eb9ac514bd2c358358fda71c /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs | |
| parent | 8a834fb7285681e5a8f3df57e4aac36724c0bc1e (diff) | |
| parent | cf9223b8cb2f1ebccf20cb1dcd99d19b78cf3e61 (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-filter
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/WebSocketConnection.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs index c64d57339..316cd84cf 100644 --- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs +++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs @@ -234,10 +234,12 @@ namespace Emby.Server.Implementations.HttpServer private Task SendKeepAliveResponse() { LastKeepAliveDate = DateTime.UtcNow; - return SendAsync(new WebSocketMessage<string> - { - MessageType = "KeepAlive" - }, CancellationToken.None); + return SendAsync( + new WebSocketMessage<string> + { + MessageId = Guid.NewGuid(), + MessageType = "KeepAlive" + }, CancellationToken.None); } /// <inheritdoc /> |
