do not handle msgs on nonexisting id.
This commit is contained in:
parent
46b8c9f42d
commit
c3abbfd577
@ -54,7 +54,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 {
|
||||||
|
Reference in New Issue
Block a user