remove unknown message from handler.

This commit is contained in:
Miroslav Šedivý 2021-08-29 19:28:01 +02:00
parent a95a987fb6
commit 47d0359106

View File

@ -114,7 +114,6 @@ func (h *MessageHandlerCtx) Message(session types.Session, raw []byte) bool {
return h.sendBroadcast(session, payload) return h.sendBroadcast(session, payload)
}) })
default: default:
logger.Warn().Str("event", header.Event).Msg("unknown message event")
return false return false
} }