remove unused mute function.

This commit is contained in:
Miroslav Šedivý
2020-11-16 22:10:03 +01:00
parent 99068b893b
commit d87a10b23a
7 changed files with 0 additions and 76 deletions

View File

@ -41,9 +41,7 @@ const (
ADMIN_BAN = "admin/ban"
ADMIN_KICK = "admin/kick"
ADMIN_LOCK = "admin/lock"
ADMIN_MUTE = "admin/mute"
ADMIN_UNLOCK = "admin/unlock"
ADMIN_UNMUTE = "admin/unmute"
ADMIN_CONTROL = "admin/control"
ADMIN_RELEASE = "admin/release"
ADMIN_GIVE = "admin/give"

View File

@ -36,7 +36,6 @@ type MembersListEntry struct {
ID string `json:"id"`
Name string `json:"displayname"`
Admin bool `json:"admin"`
Muted bool `json:"muted"`
}
type Member struct {
@ -44,7 +43,6 @@ type Member struct {
ID string `json:"id"`
Name string `json:"displayname"`
Admin bool `json:"admin"`
Muted bool `json:"muted"`
}
type MemberDisconnected struct {

View File

@ -6,11 +6,9 @@ type Session interface {
ID() string
Name() string
Admin() bool
Muted() bool
IsHost() bool
Connected() bool
Address() string
SetMuted(muted bool)
SetName(name string)
SetSocket(socket WebSocket)
SetPeer(peer Peer)