Fix deprecated call injected by 265c7b62

This commit is contained in:
Christophe Romain 2018-04-18 14:16:56 +02:00
parent 265c7b62c7
commit a567abcfdf
1 changed files with 0 additions and 1 deletions

View File

@ -162,7 +162,6 @@ base_url(Server, Path) ->
<<"http", _/binary>> -> BPath;
_ ->
Base = ejabberd_config:get_option({ext_api_url, Server},
fun(X) -> iolist_to_binary(X) end,
<<"http://localhost/api">>),
case binary:last(Base) of
47 -> <<Base/binary, BPath/binary>>;