mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
unknown session id return error.
This commit is contained in:
parent
1e3abf51af
commit
541ca80878
@ -61,7 +61,7 @@ func (h *MessageHandler) Message(id string, raw []byte) error {
|
|||||||
|
|
||||||
session, ok := h.sessions.Get(id)
|
session, ok := h.sessions.Get(id)
|
||||||
if !ok {
|
if !ok {
|
||||||
errors.Errorf("unknown session id %s", id)
|
return errors.Errorf("unknown session id %s", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
switch header.Event {
|
switch header.Event {
|
||||||
|
Loading…
Reference in New Issue
Block a user