title: How to intercept a Ping message from the Openfire Server?
body: <p>I am writing an Openfire plugin to intercept the Ping message the server sends to the client when the client becomes idle. The system Ping looks like:</p>
  
  <pre><code>&lt;iq from='capulet.lit' to='juliet@capulet.lit/balcony' id='s2c1' type='get'&gt;
    &lt;ping xmlns='urn:xmpp:ping'/&gt;
  &lt;/iq&gt;
  </code></pre>
  
  <p>However, when I use a PacketInterceptor to intercept all the packets between the server and the clients, the interceptor is able to intercept all the packets EXCEPT for the Ping. I don't understand what is going on. Any help would be much appreciated! </p>