mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Clarify error message when BOSH query is sent to non-running module
This commit is contained in:
parent
2d0d46e296
commit
ad357c2f59
@ -1361,8 +1361,13 @@ check_default_xmlns(El) ->
|
|||||||
check_bind_module(XmppDomain) ->
|
check_bind_module(XmppDomain) ->
|
||||||
case gen_mod:is_loaded(XmppDomain, mod_http_bind) of
|
case gen_mod:is_loaded(XmppDomain, mod_http_bind) of
|
||||||
true -> true;
|
true -> true;
|
||||||
false -> ?ERROR_MSG("You are trying to use BOSH (HTTP Bind), but the module mod_http_bind is not started.~n"
|
false -> ?ERROR_MSG("You are trying to use BOSH (HTTP Bind) in host ~p,"
|
||||||
"Check your 'modules' section in your ejabberd configuration file.",[]),
|
" but the module mod_http_bind is not started in"
|
||||||
|
" that host. Configure your BOSH client to connect"
|
||||||
|
" to the correct host, or add your desired host to"
|
||||||
|
" the configuration, or check your 'modules'"
|
||||||
|
" section in your ejabberd configuration file.",
|
||||||
|
[XmppDomain])
|
||||||
false
|
false
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user