aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/pubsub_multi_items.scs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-06-09 15:58:49 +0200
committerKim Alvefur <zash@zash.se>2021-06-09 15:58:49 +0200
commitc880dee2af4b1f5e184c3a3c7f70036694d9c1f8 (patch)
treef0bcecd7be12b067e31e7aa05354fc17a2d9cc64 /spec/scansion/pubsub_multi_items.scs
parent351a197fbdd99b11505c283ae8c3f414bee38885 (diff)
downloadprosody-c880dee2af4b1f5e184c3a3c7f70036694d9c1f8.tar.gz
prosody-c880dee2af4b1f5e184c3a3c7f70036694d9c1f8.zip
mod_pubsub,mod_pep: Support "max" as 'pubsub#max_items'
Fixes #1643 API change: The argument to archive_itemstore() changes type to integer
Diffstat (limited to 'spec/scansion/pubsub_multi_items.scs')
-rw-r--r--spec/scansion/pubsub_multi_items.scs2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scansion/pubsub_multi_items.scs b/spec/scansion/pubsub_multi_items.scs
index 147aaa8d..d76bc46c 100644
--- a/spec/scansion/pubsub_multi_items.scs
+++ b/spec/scansion/pubsub_multi_items.scs
@@ -43,7 +43,7 @@ Alice receives:
<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">