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 {