Hello all, I am wondering that is there any easy way for setting JIDs for pubsub node with AccessModel.whitelist.
There was same question but no one answered: PubSub and AccessModel
Do we have easy way for that ? I thought there should be a way to set whitelist JIDs when I create a new node, but actually not.
I think I have to send kind of following message to server to set JIDs as whitelist for a pubsub node:
But I don’t know how can I send this message easily with smack API.
There is sendPubsubPacket() method in PubSubManager but the method is protected as privacy method.
I’m very happy if someone can help me, thank you !
Hi, thank you !
I didn’t notice that the method was added to Node class.
I tried with modifyAffiliationAsOwner(), but I got an error from openfire server.
It seems that modifyAffiliationAsOwner() sends wrong XML message as following:
I have found the exact same issue as reported above by Jpro.
Is this issue resolved yet?
I have tested by using latest maven version of smack - 4.2.3
found again the same issue.