Add comment about ping requests sent even to non-supporting clients

This commit is contained in:
Badlop 2011-08-04 18:32:45 +02:00
parent aa8c9bf0a5
commit 1b7cc33a7f
1 changed files with 2 additions and 0 deletions

View File

@ -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,