fix: emqx_topic:join/1 instead of filename:join/1

filename:join/1 doesn't work on Windows for joining a topic. We now use
emqx_topic:join/1 instead.
This commit is contained in:
Erik Timan 2022-11-24 11:26:01 +01:00
parent 95faf56077
commit 2582c1713e
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ format({_Subscriber, Topic, Options}) ->
). ).
get_topic(Topic, #{share := Group}) -> get_topic(Topic, #{share := Group}) ->
filename:join([<<"$share">>, Group, Topic]); emqx_topic:join([<<"$share">>, Group, Topic]);
get_topic(Topic, _) -> get_topic(Topic, _) ->
Topic. Topic.