[ejabberd] ejabberd behavior b/w user disconnected vs user unavailable
monkeyfdude at gmail.com
Thu Mar 12 19:35:00 MSK 2015
Thanks you very much!
On Thu, Mar 12, 2015 at 9:28 AM, Holger Weiß <holger at zedat.fu-berlin.de>
> * Gaurav Jain <monkeyfdude at gmail.com> [2015-03-12 08:55]:
> > I did look at the code and I found unset_presence_hook is called with
> > args, User, Server, Resource and Status. It does not give the full
> > packet to the hook. I wanted to inject some data in the presence packet
> > sent by client and have a hook process that data.
> The Status argument contains the optional <status/> element of the
> <presence/> stanza, for what it's worth.
> > how can I get access to full packet.
> You can access all stanzas (including any unavailable <presence/>
> stanzas) sent by the client via the 'user_send_packet' hook.
> ejabberd mailing list
> ejabberd at jabber.ru
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd