ejabberd - Comments for "MongoDB module" https://www.ejabberd.im/node/4592 en I didn't see the relationship https://www.ejabberd.im/node/4592#comment-57650 <p>I didn't see the relationship to Mongo.</p> Tue, 26 Jul 2011 15:41:21 +0000 firdcalf comment 57650 at https://www.ejabberd.im mhoang wrote: Hi, First, I https://www.ejabberd.im/node/4592#comment-57160 <div class="quote-msg"> <div class="quote-author"><em>mhoang</em> wrote:</div> <p>Hi,<br /> First, I would like to ask a question about ejabberd events. When a user disconnects, do I need to explicitly call<br /> presence type="unavailable"<br /> or does ejabberd send that out automatically? </p></div> <p>In ejabberd, I think it is enough if your client closes the TCP connection.</p> <p>The protocols say that the client should first send presence unavailable, then must send a stream close.<br /> See <noindex><a href="http://tools.ietf.org/html/draft-ietf-xmpp-3921bis-20#section-4.5.1" title="http://tools.ietf.org/html/draft-ietf-xmpp-3921bis-20#section-4.5.1" rel="nofollow" >http://tools.ietf.org/html/draft-ietf-xmpp-3921bis-20#section-4.5.1</a></noindex><br /> and <noindex><a href="http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-5.7" title="http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-5.7" rel="nofollow" >http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-5.7</a></noindex></p> <div class="quote-msg"> <div class="quote-author"><em>mhoang</em> wrote:</div> <p> Is there a event hook that fires when a user connects AND disconnects? </p></div> <p>See <a href="http://www.ejabberd.im/node/4591" title="http://www.ejabberd.im/node/4591">http://www.ejabberd.im/node/4591</a></p> Sat, 19 Mar 2011 22:14:19 +0000 mfoss comment 57160 at https://www.ejabberd.im