let host = "YOUR_HOST_NAME"
let serviceJID = XMPPJID(string: "pubsub.\(host)")
let xmppPubSub = XMPPPubSub(serviceJID: serviceJID, dispatchQueue: DispatchQueue.main)
xmppPubSub.addDelegate(self, delegateQueue: DispatchQueue.main)
xmppPubSub.activate(appDelegate.xmppController.xmppStream)
xmppPubSub.retrieveSubscriptions()
But, I want to retrieve the list of subscribers(Users) from the pubsub node.