revert backwards compatibility.
This commit is contained in:
parent
fdd0639036
commit
61059c9b3c
2 changed files with 0 additions and 8 deletions
|
|
@ -49,10 +49,6 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error {
|
||||||
WebRTC: message.SystemWebRTC{
|
WebRTC: message.SystemWebRTC{
|
||||||
Videos: h.capture.VideoIDs(),
|
Videos: h.capture.VideoIDs(),
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO: Left for compatibility with old client, remove.
|
|
||||||
ImplicitHosting: h.sessions.Settings().ImplicitHosting,
|
|
||||||
InactiveCursors: h.sessions.Settings().InactiveCursors,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@ type SystemInit struct {
|
||||||
Settings types.Settings `json:"settings"`
|
Settings types.Settings `json:"settings"`
|
||||||
ScreencastEnabled bool `json:"screencast_enabled"`
|
ScreencastEnabled bool `json:"screencast_enabled"`
|
||||||
WebRTC SystemWebRTC `json:"webrtc"`
|
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 {
|
type SystemAdmin struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue