Add qos case
This commit is contained in:
parent
997b693400
commit
2c73ab9713
|
@ -232,5 +232,7 @@ parse(TopicFilter = <<"$share/", Rest/binary>>, Options) ->
|
|||
_ -> error({invalid_topic_filter, TopicFilter})
|
||||
end
|
||||
end;
|
||||
parse(TopicFilter, Options = #{qos := QoS}) ->
|
||||
{TopicFilter, Options#{rc => QoS}};
|
||||
parse(TopicFilter, Options) ->
|
||||
{TopicFilter, Options}.
|
Loading…
Reference in New Issue