mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
revert backwards compatibility.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user