mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Add comment about ping requests sent even to non-supporting clients
This commit is contained in:
parent
e690afc33b
commit
75f8e174dc
|
@ -103,6 +103,8 @@ init([Host, Opts]) ->
|
||||||
?MODULE, iq_ping, IQDisc),
|
?MODULE, iq_ping, IQDisc),
|
||||||
case SendPings of
|
case SendPings of
|
||||||
true ->
|
true ->
|
||||||
|
%% Ping requests are sent to all entities, whether they
|
||||||
|
%% announce 'urn:xmpp:ping' in their caps or not
|
||||||
ejabberd_hooks:add(sm_register_connection_hook, Host,
|
ejabberd_hooks:add(sm_register_connection_hook, Host,
|
||||||
?MODULE, user_online, 100),
|
?MODULE, user_online, 100),
|
||||||
ejabberd_hooks:add(sm_remove_connection_hook, Host,
|
ejabberd_hooks:add(sm_remove_connection_hook, Host,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user