mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-02 00:10:07 +02:00
remove unused mute function.
This commit is contained in:
parent
99068b893b
commit
d87a10b23a
7 changed files with 0 additions and 76 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue