#1015 Support explicif Pubsub/PEP node creation with configure

Reporter Timothée Jaussoin
Owner Zash
Stars ★ (1)  
  • Milestone-0.11
  • Type-Enhancement
  • Status-Fixed
  • Priority-Medium
  1. Timothée Jaussoin on

    Description of feature: Prosody should allow explicit Pubsub/PEP nodes to be created using custom configuration. <iq xmlns="jabber:client" to="test@prosody.server" type="set" id="e2cyhi"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <create node="urn:xmpp:microblog:0"/> <configure> <x xmlns="jabber:x:data" type="submit"> <field var="FORM_TYPE" type="hidden"> <value>http://jabber.org/protocol/pubsub#node_config</value> </field> <field var="pubsub#persist_items"> <value>true</value> </field> <field var="pubsub#access_model"> <value>whitelist</value> </field> </x> </configure> </pubsub> </iq> <iq id='IxRP3s' type='error' to='test@prosody.server/fd5337a2-eedf-4f2b-b070-51ae1615dae3'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq> Motivation: (Why?) To allow custom node creation on PEP and Pubsub

  2. Zash on

    Node creation and configuration are supported separately in mod_pubsub and mod_pep_plus.

  3. Zash on

    Done in https://hg.prosody.im/trunk/rev/dc4ea43ac463

    • tags Milestone-0.11 Status-Fixed
    • owner Zash

New comment