Subject: Retrieve List of Subscriptions (not for owner)
Hi all,
I'm developing a client for Windows Phone 7. I'm using pubsub and therefore I wanted to know, how to retrieve a list of subscriptions for a given node and a given user?
I only want to get the subscriptions of the current user and not of all users for a given node. So the following code doesn't help me:
Can I build my own Iq request, if the API does not contain this query? It has to look like this at the end:
Thanks a lot for helping me!
Have a nice day,
Mike
I'm developing a client for Windows Phone 7. I'm using pubsub and therefore I wanted to know, how to retrieve a list of subscriptions for a given node and a given user?
I only want to get the subscriptions of the current user and not of all users for a given node. So the following code doesn't help me:
- pubsubManager.RequestSubscriptionsList(pubsubJid, "myNode");
Can I build my own Iq request, if the API does not contain this query? It has to look like this at the end:
- <iq id="zHY7q-7" to="pubsub.domain.de" type="get">
- <pubsub xmlns="http://jabber.org/protocol/pubsub">
- <subscriptions node="myNode"/>
- </pubsub>
- </iq>
Thanks a lot for helping me!
Have a nice day,
Mike