Software /
code /
prosody
Comparison
spec/scansion/pubsub_multi_items.scs @ 11631:6641ca266d94
mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items'
Fixes #1643
API change: The argument to archive_itemstore() changes type to integer
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 09 Jun 2021 15:58:49 +0200 |
parent | 9833:86fe021f16a6 |
child | 11714:d783716103c1 |
comparison
equal
deleted
inserted
replaced
11630:855b065d5fd6 | 11631:6641ca266d94 |
---|---|
41 </field> | 41 </field> |
42 <field var="pubsub#title" label="Title" type="text-single"/> | 42 <field var="pubsub#title" label="Title" type="text-single"/> |
43 <field var="pubsub#description" label="Description" type="text-single"/> | 43 <field var="pubsub#description" label="Description" type="text-single"/> |
44 <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/> | 44 <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/> |
45 <field var="pubsub#max_items" label="Max # of items to persist" type="text-single"> | 45 <field var="pubsub#max_items" label="Max # of items to persist" type="text-single"> |
46 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/> | 46 <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/> |
47 <value>20</value> | 47 <value>20</value> |
48 </field> | 48 </field> |
49 <field var="pubsub#persist_items" label="Persist items to storage" type="boolean"> | 49 <field var="pubsub#persist_items" label="Persist items to storage" type="boolean"> |
50 <value>0</value> | 50 <value>0</value> |
51 </field> | 51 </field> |