diff options
author | Badlop <badlop@process-one.net> | 2011-08-04 18:32:45 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2011-08-04 18:32:45 +0200 |
commit | 1b7cc33a7fb0ea831a1efd17f2fd1367cc3e13d2 (patch) | |
tree | 1a8ad1dbc07ebd0fcc1fb0437c4a262017299cae /src | |
parent | Name and groups must be binaries, not strings (diff) |
Add comment about ping requests sent even to non-supporting clients
Diffstat (limited to 'src')
-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 37002848e..11c7a138d 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -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, |