Add comment about ping requests sent even to non-supporting clients
This commit is contained in:
parent
aa8c9bf0a5
commit
1b7cc33a7f
|
@ -104,6 +104,8 @@ init([HostB, Opts]) ->
|
|||
?MODULE, iq_ping, IQDisc),
|
||||
case SendPings of
|
||||
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, HostB,
|
||||
?MODULE, user_online, 100),
|
||||
ejabberd_hooks:add(sm_remove_connection_hook, HostB,
|
||||
|
|
Loading…
Reference in New Issue