]> granicus.if.org Git - ejabberd/commitdiff
Add comment about ping requests sent even to non-supporting clients
authorBadlop <badlop@process-one.net>
Thu, 4 Aug 2011 16:29:13 +0000 (18:29 +0200)
committerBadlop <badlop@process-one.net>
Thu, 4 Aug 2011 16:29:13 +0000 (18:29 +0200)
src/mod_ping.erl

index a1e6b2664488bafee08c2f95d5b933647a12b322..b8d651c5fa5ac9d298190cc515f59d8e0119211e 100644 (file)
@@ -103,6 +103,8 @@ init([Host, 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, Host,
                                ?MODULE, user_online, 100),
             ejabberd_hooks:add(sm_remove_connection_hook, Host,