mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Fix deprecated call injected by 265c7b62
This commit is contained in:
parent
265c7b62c7
commit
a567abcfdf
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user