publish subscribe - How to change subscriber affiliation without owner intervention with XMPP PubSub -


i using xmpp pubsub (xep-0060). application has following requirements:

  1. users can create pubsub nodes: working fine.
  2. users can subscribe created nodes , automatically become publishers without owner intervention. in situation need on node both publisher , subscriber.

the problem have after subscribe new user pubsub node, have "none" affiliation default. there no way change affiliation client application owner can change affiliations.

am missing setting in xep-0060 can achieve behavior?

if control client create node, can consider looking publish_model option of pubsub node.

the default publish_model publishers, there other options available such subscribers , open. setting publish_model option of pubsub node subscribers should achieve need.

depending on actual xmpp server using, feature may or may not available. should work ejabberd latest version configured use node type hometree.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -