mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-27 23:18:03 +02:00
is_receiving - is_watching.
This commit is contained in:
parent
e17e2cb606
commit
c714d17d87
5 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ func (h *MessageHandlerCtx) SessionCreated(session types.Session) error {
|
|||
},
|
||||
State: message.MemberState{
|
||||
IsConnected: session.IsConnected(),
|
||||
IsReceiving: session.IsReceiving(),
|
||||
IsWatching: session.IsWatching(),
|
||||
},
|
||||
}, nil)
|
||||
|
||||
|
@ -105,7 +105,7 @@ func (h *MessageHandlerCtx) SessionStateChanged(session types.Session) error {
|
|||
Event: event.MEMBER_STATE,
|
||||
ID: session.ID(),
|
||||
IsConnected: session.IsConnected(),
|
||||
IsReceiving: session.IsReceiving(),
|
||||
IsWatching: session.IsWatching(),
|
||||
}, nil)
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue