Skip to content

Commit

Permalink
mod_mqtt: Just return the topic if it is not a site topic
Browse files Browse the repository at this point in the history
  • Loading branch information
mmzeeman committed Dec 7, 2015
1 parent 08931bd commit 67058b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/z_mqtt.erl
Expand Up @@ -302,7 +302,7 @@ make_context_topic(<<"site/", Topic/binary>> = ST, Context) ->
_ -> ST
end;
make_context_topic(Topic, _Site) ->
<<"//", Topic/binary>>.
Topic.

make_localsite(<<>>, _Context) ->
<<"~site">>;
Expand Down

0 comments on commit 67058b1

Please sign in to comment.