mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
revert backwards compatibility.
This commit is contained in:
parent
fdd0639036
commit
61059c9b3c
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user