mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Add trailing backslash to URLs shown in mod_muc_log disco#info
This commit is contained in:
parent
0d3f8c7b9f
commit
2a4a6bec18
@ -97,9 +97,9 @@ get_url(#state{room = Room, host = Host, server_host = ServerHost}) ->
|
|||||||
URL ->
|
URL ->
|
||||||
case mod_muc_log_opt:dirname(ServerHost) of
|
case mod_muc_log_opt:dirname(ServerHost) of
|
||||||
room_jid ->
|
room_jid ->
|
||||||
{ok, <<URL/binary, $/, Room/binary, $@, Host/binary>>};
|
{ok, <<URL/binary, $/, Room/binary, $@, Host/binary, $/>>};
|
||||||
room_name ->
|
room_name ->
|
||||||
{ok, <<URL/binary, $/, Room/binary>>}
|
{ok, <<URL/binary, $/, Room/binary>>, $/}
|
||||||
end
|
end
|
||||||
catch
|
catch
|
||||||
error:{module_not_loaded, _, _} ->
|
error:{module_not_loaded, _, _} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user