I am modifying the ejabberd server to send a custom roster to the user which I was able to do by writing my own version of mod_roster. Now I want to add presence on top of that roster by handling directed presence messages from the client as defined in rfc3921.
Does anyone know which modules currently provide this functionality so I can use them as a reference?