[ejabberd] ejabberd user-offline hook

Stephan Maihöfer sma at turtle-entertainment.de
Tue Nov 23 12:04:37 MSK 2010

is there a hook in ejabberd so that i could write a module that acts once a user creates his first session on the jabber-server (logs in with his first resource) and then again acts on sigout of the last resource connected with that bare-jid? it seems all the hooks there are handle full-jids. if that is the case, is there some central function that i can use to check all the resources a user is online with, or just the count of open ressources for a bare-jid would be enough.
thanks in advance for the help.

More information about the ejabberd mailing list