aboutsummaryrefslogtreecommitdiff
path: root/src/mod_roster.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2019-10-02 11:54:22 +0200
committerBadlop <badlop@process-one.net>2019-10-02 12:42:54 +0200
commit20205c66c112d459fc0d1ccea4c083627ea9112c (patch)
treedc2c744c2fe9303b3569fdb2f9da500e7988a103 /src/mod_roster.erl
parentFix startup of supervisors for listening modules (diff)
Support custom base path in WebAdmin by using relative URLs (#3043)
Diffstat (limited to 'src/mod_roster.erl')
-rw-r--r--src/mod_roster.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index 815a3b8d4..e2d98ec13 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -1031,7 +1031,7 @@ build_contact_jid_td(RosterJID) ->
case lists:member(CServer, ejabberd_option:hosts()) of
false -> <<"">>;
true ->
- <<"/admin/server/", CServer/binary, "/user/",
+ <<"../../../../../server/", CServer/binary, "/user/",
CUser/binary, "/">>
end
end,