mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-18 03:27:03 +02:00
fix logs, unified session_id.
This commit is contained in:
parent
cacdd9e20a
commit
d83e04e7ec
10 changed files with 37 additions and 40 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
func (h *MessageHandlerCtx) keyboardMap(session types.Session, payload *message.KeyboardMap) error {
|
||||
if !session.IsHost() {
|
||||
h.logger.Debug().Str("id", session.ID()).Msg("is not the host")
|
||||
h.logger.Debug().Str("session_id", session.ID()).Msg("is not the host")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ func (h *MessageHandlerCtx) keyboardMap(session types.Session, payload *message.
|
|||
|
||||
func (h *MessageHandlerCtx) keyboardModifiers(session types.Session, payload *message.KeyboardModifiers) error {
|
||||
if !session.IsHost() {
|
||||
h.logger.Debug().Str("id", session.ID()).Msg("is not the host")
|
||||
h.logger.Debug().Str("session_id", session.ID()).Msg("is not the host")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue