fix subscription
This commit is contained in:
parent
27bc669bee
commit
6cfb1029d3
|
@ -709,7 +709,7 @@ end}.
|
||||||
{list_to_binary(Topic), list_to_integer(Qos)}
|
{list_to_binary(Topic), list_to_integer(Qos)}
|
||||||
end || S <- string:tokens(Topics, ",")]
|
end || S <- string:tokens(Topics, ",")]
|
||||||
end,
|
end,
|
||||||
SubOpts = fun(Prefix) -> [{topics, ParseFun(cuttlefish:conf_get(Prefix ++ ".topics", Conf))}] end,
|
SubOpts = fun(Prefix) -> ParseFun(cuttlefish:conf_get(Prefix ++ ".topics", Conf)) end,
|
||||||
lists:append([WithMod(retainer, RetainOpts), WithMod(presence, PresOpts), WithMod(subscription, SubOpts)])
|
lists:append([WithMod(retainer, RetainOpts), WithMod(presence, PresOpts), WithMod(subscription, SubOpts)])
|
||||||
end}.
|
end}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue