fix subscription

This commit is contained in:
Feng 2016-10-18 16:01:16 +08:00
parent 27bc669bee
commit 6cfb1029d3
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ end}.
{list_to_binary(Topic), list_to_integer(Qos)}
end || S <- string:tokens(Topics, ",")]
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)])
end}.