Subject: Is it possible for a component to subscribe to user presence?
For some context, I'm using ejabberd as my XMPP server with a MySQL backend.
For most functions, ejabberd has modules that persist everything to the database, but for some reason or another, there is no mod that will store user presence in the database.
As a workaround, my plan is to have a component subscribe to user presence and have the component handle the persistence of user presence in the database.
Is there a way for a component to subscribe to a user presence? I can see in the XMPP Component RFC that the presence tag is valid for a component, but I'm not sure to which jid the presence notifications will be sent to once I've established a presence subscription from the component to the user.
For most functions, ejabberd has modules that persist everything to the database, but for some reason or another, there is no mod that will store user presence in the database.
As a workaround, my plan is to have a component subscribe to user presence and have the component handle the persistence of user presence in the database.
Is there a way for a component to subscribe to a user presence? I can see in the XMPP Component RFC that the presence tag is valid for a component, but I'm not sure to which jid the presence notifications will be sent to once I've established a presence subscription from the component to the user.