- I have a collaboration product for which I am adding a chat feature
- I want to notify users (through email or some other means) whenever they get subscription requests
- How can I achieve it through smack? My understanding is that we can add listeners to listen to events happening for the logged in user’s roster, message or presence.
- But can I create a connection to XMPP server and listen to all the presence subscription requests of all users without logging in as one particular user?
I am pretty sure you will need a custom plugin/module in the server to accomplish something like this.