Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/spec/scansion/pubsub_multi_items.scs Fri Sep 18 12:18:51 2020 +0200 +++ b/spec/scansion/pubsub_multi_items.scs Wed Jun 09 15:58:49 2021 +0200 @@ -43,7 +43,7 @@ <field var="pubsub#description" label="Description" type="text-single"/> <field var="pubsub#type" label="The type of node data, usually specified by the namespace of the payload (if any)" type="text-single"/> <field var="pubsub#max_items" label="Max # of items to persist" type="text-single"> - <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="xs:integer"/> + <validate xmlns="http://jabber.org/protocol/xdata-validate" datatype="pubsub:integer-or-max"/> <value>20</value> </field> <field var="pubsub#persist_items" label="Persist items to storage" type="boolean">