Fix the badmatch error
This commit is contained in:
parent
bd061415c9
commit
f70da696f0
|
@ -314,10 +314,10 @@ handle_out({connack, ?RC_SUCCESS, SP},
|
||||||
ok = emqx_hooks:run('client.connected', [Client, ?RC_SUCCESS, attrs(PState)]),
|
ok = emqx_hooks:run('client.connected', [Client, ?RC_SUCCESS, attrs(PState)]),
|
||||||
#{max_packet_size := MaxPktSize,
|
#{max_packet_size := MaxPktSize,
|
||||||
max_qos_allowed := MaxQoS,
|
max_qos_allowed := MaxQoS,
|
||||||
mqtt_retain_available := Retain,
|
retain_available := Retain,
|
||||||
max_topic_alias := MaxAlias,
|
max_topic_alias := MaxAlias,
|
||||||
mqtt_shared_subscription := Shared,
|
shared_subscription := Shared,
|
||||||
mqtt_wildcard_subscription := Wildcard
|
wildcard_subscription := Wildcard
|
||||||
} = caps(PState),
|
} = caps(PState),
|
||||||
%% Response-Information is so far not set by broker.
|
%% Response-Information is so far not set by broker.
|
||||||
%% i.e. It's a Client-to-Client contract for the request-response topic naming scheme.
|
%% i.e. It's a Client-to-Client contract for the request-response topic naming scheme.
|
||||||
|
|
Loading…
Reference in New Issue