Add trailing backslash to URLs shown in mod_muc_log disco#info

This commit is contained in:
Badlop 2023-04-24 13:36:37 +02:00
parent 0d3f8c7b9f
commit 2a4a6bec18
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ get_url(#state{room = Room, host = Host, server_host = ServerHost}) ->
URL ->
case mod_muc_log_opt:dirname(ServerHost) of
room_jid ->
{ok, <<URL/binary, $/, Room/binary, $@, Host/binary>>};
{ok, <<URL/binary, $/, Room/binary, $@, Host/binary, $/>>};
room_name ->
{ok, <<URL/binary, $/, Room/binary>>}
{ok, <<URL/binary, $/, Room/binary>>, $/}
end
catch
error:{module_not_loaded, _, _} ->