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:
parent
95faf56077
commit
2582c1713e
|
@ -183,7 +183,7 @@ format({_Subscriber, Topic, Options}) ->
|
|||
).
|
||||
|
||||
get_topic(Topic, #{share := Group}) ->
|
||||
filename:join([<<"$share">>, Group, Topic]);
|
||||
emqx_topic:join([<<"$share">>, Group, Topic]);
|
||||
get_topic(Topic, _) ->
|
||||
Topic.
|
||||
|
||||
|
|
Loading…
Reference in New Issue