1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 09:12:19 -05:00

Expose pubsub#access_model and pubsub#publish_model into the Pubsub node metadata

This commit is contained in:
Timothée Jaussoin 2019-02-11 18:30:08 +01:00
parent c8e9cebc6b
commit aebc610785

View File

@ -1053,6 +1053,12 @@ And by opposing end them?
<field var='pubsub#contact' label='People to contact with questions' type='jid-multi'> <field var='pubsub#contact' label='People to contact with questions' type='jid-multi'>
<value>bard@shakespeare.lit</value> <value>bard@shakespeare.lit</value>
</field> </field>
<field var='pubsub#access_model' label='Access model' type='list-single'>
<value>open</value>
</field>
<field var='pubsub#publish_model' label='Publish model' type='list-single'>
<value>publishers</value>
</field>
<field var='pubsub#max_items' label='Max # of items to persist' type='text-single'> <field var='pubsub#max_items' label='Max # of items to persist' type='text-single'>
<value>120</value> <value>120</value>
</field> </field>
@ -6300,6 +6306,12 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings;item=ae
<field var='pubsub#language' <field var='pubsub#language'
type='list-single' type='list-single'
label='The default language of the node'/> label='The default language of the node'/>
<field var='pubsub#access_model'
type='list-single'
label='Access model'/>
<field var='pubsub#publish_model'
type='list-single'
label='Publish model'/>
<field var='pubsub#num_subscribers' <field var='pubsub#num_subscribers'
type='text-single' type='text-single'
label='The number of subscribers to the node'/> label='The number of subscribers to the node'/>