update control WS.

This commit is contained in:
Miroslav Šedivý
2020-11-30 18:24:38 +01:00
parent 4bbf3bb039
commit 2e090eb54d
6 changed files with 42 additions and 95 deletions

View File

@ -52,7 +52,6 @@ type MemberData struct {
}
// Control
// TODO: New.
type ControlHost struct {
Event string `json:"event,omitempty"`
HasHost bool `json:"has_host"`
@ -144,16 +143,3 @@ type MemberDisconnected struct {
Event string `json:"event"`
ID string `json:"id"`
}
// TODO: Remove.
type Control struct {
Event string `json:"event"`
ID string `json:"id"`
}
// TODO: Remove.
type ControlTarget struct {
Event string `json:"event"`
ID string `json:"id"`
Target string `json:"target"`
}