How do you query a user's active subscriptions in the notification mechanism?
You can get a list of the user's active subscription by sending the following IQ:
<iq type='get'
from='francisco@denmark.lit/barracks'
to='pubsub.shakespeare.lit'
id='subscriptions1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscriptions/>
</pubsub>
</iq>
Please see example 20 from the XMPP doc: http://www.xmpp.org/extensions/xep-0060.html#entity-subscriptions
Please see the Subscription Management section of the Finesse Developer Guide for more information on how to subscribe.
Comments
0 comments
Please sign in to leave a comment.