Configure a pubsub node with strophe.pubsub plugin for multiple publishers or a create a whitelist

StackOverflow https://stackoverflow.com/questions/13032706

  •  13-07-2021
  •  | 
  •  

سؤال

How do I use the strophe.pubsub plugin to configure a node for multiple publishers or a whitelist, e.g. "pubsub#leaf_node_association_whitelist" variable?

I tried to pass in an array but this didn't work.

options = {
   "pubsub#leaf_node_association_whitelist": array
}
هل كانت مفيدة؟

المحلول

I ended up creating an iq stanza manually with a Strophe stanza builder $iq.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top