Comparison

spec/scansion/pubsub_multi_items.scs @ 11720:72512c0858b3

mod_pubsub: Explicitly enable persistence by default to preserve behavior Since nodes were always persistent according to the XEP-0060 definition. Whether data is stored in memory or on disk was not what this setting was meant for.
author Kim Alvefur <zash@zash.se>
date Wed, 21 Jul 2021 23:35:08 +0200
parent 11714:d783716103c1
child 11854:b605cbd5f13b
comparison
equal deleted inserted replaced
11719:3986b5a0c3fc 11720:72512c0858b3
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="pubsub:integer-or-max"/> 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>1</value>
51 </field> 51 </field>
52 <field var="pubsub#access_model" label="Specify the subscriber model" type="list-single"> 52 <field var="pubsub#access_model" label="Specify the subscriber model" type="list-single">
53 <option label="authorize"> 53 <option label="authorize">
54 <value>authorize</value> 54 <value>authorize</value>
55 </option> 55 </option>