[ejabberd] About current pubsub implementation

Christophe Romain cromain at process-one.net
Thu Jun 19 23:06:09 MSD 2008


> Of course I don't think the proposed idea (with home/ system) is  
> bad, I just say that it should be configurable and that every  
> organization should be possible if wanted.
it is configurable with plugins.
if you do not want home/localhost/user limitation, just create a  
"zoo" node plugin.
copy node_default to node_zoo, and change create_node_permission  
function
replace
      case Node of
                 ["home", Server, User | _] -> true;
                 _ -> false
      end
by
      true

then configure pubsub with
   {plugins, ["zoo"]}

that's it.

afair, pubsub/nodes is not used anymore.



More information about the ejabberd mailing list