From b5bbb98175e0542d43c01f80c15e8dce04e58b53 Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Thu, 29 Jun 2023 05:44:36 -0600 Subject: Fix Websocket OpenApi (#9935) * Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review --- .../Net/WebSocketMessages/Inbound/SessionsStopMessage.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStopMessage.cs') diff --git a/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStopMessage.cs b/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStopMessage.cs index 7e3582d64..288d111c5 100644 --- a/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStopMessage.cs +++ b/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStopMessage.cs @@ -1,5 +1,4 @@ using System.ComponentModel; -using MediaBrowser.Controller.Session; using MediaBrowser.Model.Session; namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound; @@ -7,17 +6,8 @@ namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound; /// /// Sessions stop message. /// -public class SessionsStopMessage : WebSocketMessage, IInboundWebSocketMessage +public class SessionsStopMessage : InboundWebSocketMessage { - /// - /// Initializes a new instance of the class. - /// - /// Session info. - public SessionsStopMessage(SessionInfo data) - : base(data) - { - } - /// [DefaultValue(SessionMessageType.SessionsStop)] public override SessionMessageType MessageType => SessionMessageType.SessionsStop; -- cgit v1.2.3