From 61059c9b3cf53533916467ce3f80b395fa257fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 19 Apr 2022 10:16:59 +0000 Subject: [PATCH] revert backwards compatibility. --- internal/websocket/handler/system.go | 4 ---- pkg/types/message/messages.go | 4 ---- 2 files changed, 8 deletions(-) diff --git a/internal/websocket/handler/system.go b/internal/websocket/handler/system.go index a2e0f273..90440a1d 100644 --- a/internal/websocket/handler/system.go +++ b/internal/websocket/handler/system.go @@ -49,10 +49,6 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error { WebRTC: message.SystemWebRTC{ Videos: h.capture.VideoIDs(), }, - - // TODO: Left for compatibility with old client, remove. - ImplicitHosting: h.sessions.Settings().ImplicitHosting, - InactiveCursors: h.sessions.Settings().InactiveCursors, }) return nil diff --git a/pkg/types/message/messages.go b/pkg/types/message/messages.go index e5de8bfb..8c6bfe61 100644 --- a/pkg/types/message/messages.go +++ b/pkg/types/message/messages.go @@ -22,10 +22,6 @@ type SystemInit struct { Settings types.Settings `json:"settings"` ScreencastEnabled bool `json:"screencast_enabled"` WebRTC SystemWebRTC `json:"webrtc"` - - // TODO: Left for compatibility with old client, remove. - ImplicitHosting bool `json:"implicit_hosting"` - InactiveCursors bool `json:"inactive_cursors"` } type SystemAdmin struct {