I am using a PacketListener to receive XMPP packets.
If I receive the following:
<presence from="[email protected]" to="[email protected]" type="subscribe"/>
is the XMPP server expecting me to respond immediately ?
- Motivation: I want to cache all these subscription requests and allow the recipient to selectively ACCEPT/DENY (à la facebook invitations).
- Is there an API in which I can request for all subscription requests from openfire ?