Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejie committed Nov 17, 2023
1 parent e633b24 commit 009cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (c *Conn) handleMessage(msg Message) error {
return ErrInvalidPayload
}

if msg.IsNative && c.allowNativeMessages {
if msg.IsNative && c.shouldHandleOnlyNativeMessages {
ns := c.Namespace("")
return ns.events.fireEvent(ns, msg)
}
Expand Down

0 comments on commit 009cfbe

Please sign in to comment.