25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Show deprecation warning if ejabberd_xmlrpc is configured as listen module (#2915)

This commit is contained in:
Badlop 2020-05-06 13:21:30 +02:00
parent d8509aec12
commit 41b06cb79e

View File

@ -395,4 +395,11 @@ make_status(error) -> 1;
make_status(_) -> 1.
listen_options() ->
?WARNING_MSG("It is deprecated defining ejabberd_xmlrpc as a listen module "
"in the ejabberd configuration. Support for that configuration"
" method may be removed in a future ejabberd release. You are "
"encouraged to define ejabberd_xmlrpc inside request_handlers "
"option of ejabberd_http listen module. See the ejabberd "
"documentation for details: https://docs.ejabberd.im/admin/"
"configuration/listen/#ejabberd-xmlrpc", []),
[].