mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
replace old Member structures.
This commit is contained in:
@ -48,13 +48,11 @@ type SignalAnswer struct {
|
||||
// Member
|
||||
/////////////////////////////
|
||||
|
||||
// TODO: New.
|
||||
type MemberID struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
// TODO: New.
|
||||
type MemberData struct {
|
||||
Event string `json:"event,omitempty"`
|
||||
ID string `json:"id"`
|
||||
@ -137,17 +135,3 @@ type BroadcastStatus struct {
|
||||
IsActive bool `json:"is_active"`
|
||||
URL string `json:"url,omitempty"`
|
||||
}
|
||||
|
||||
// TODO: Remove.
|
||||
type Member struct {
|
||||
Event string `json:"event"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Admin bool `json:"admin"`
|
||||
}
|
||||
|
||||
// TODO: Remove.
|
||||
type MemberDisconnected struct {
|
||||
Event string `json:"event"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user