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

@ -13,7 +13,6 @@ type SessionCtx struct {
id string
name string
admin bool
muted bool
connected bool
manager *SessionManagerCtx
socket types.WebSocket
@ -32,10 +31,6 @@ func (session *SessionCtx) Admin() bool {
return session.admin
}
func (session *SessionCtx) Muted() bool {
return session.muted
}
func (session *SessionCtx) IsHost() bool {
return session.manager.host != nil && session.manager.host.ID() == session.ID()
}
@ -52,10 +47,6 @@ func (session *SessionCtx) Address() string {
return session.socket.Address()
}
func (session *SessionCtx) SetMuted(muted bool) {
session.muted = muted
}
func (session *SessionCtx) SetName(name string) {
session.name = name
}