[ejabberd] Question about presence hooks
bradford at medigram.com
Tue Jul 24 01:12:52 MSK 2012
It's bound to happen on mobile, I'm developing a similar system there's no guarantee that the user will actually quit the application, I think that your best bet is hooking offline_message_hook if you want just offline messages. If you want to know the specific state of the user you have to use presence or session management.
On Jul 23, 2012, at 2:02 PM, Kirk Bateman wrote:
> You could just send an iq or message to a component when the user clicks logout, that way you don't need to worry about connections getting dropped from things like poor mobile signal (the dreaded connection bouncing).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd