diff options
author | Badlop <badlop@process-one.net> | 2011-08-04 18:29:13 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2011-08-04 18:29:13 +0200 |
commit | 75f8e174dc3a2ccdecfc607a4ad1f13810c124a2 (patch) | |
tree | aa24a0228c5c1cf4cdf74586665145e43333e226 /src/mod_ping.erl | |
parent | Verify username provided in registration web form (diff) |
Add comment about ping requests sent even to non-supporting clients
Diffstat (limited to 'src/mod_ping.erl')
-rw-r--r-- | src/mod_ping.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_ping.erl b/src/mod_ping.erl index a1e6b2664..b8d651c5f 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -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, |