Comparison

spec/scansion/pubsub_preconditions.scs @ 11854:b605cbd5f13b

mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436 Default left as 'never' in mod_pubsub to preserve the previous behavior. Unclear if this is desirable, but can always be changed later. In mod_pep this allows turning off the automatic resending of most recent item.
author Kim Alvefur <zash@zash.se>
date Tue, 19 Oct 2021 18:11:50 +0200
parent 11631:6641ca266d94
child 11855:8890eaa69446
comparison
equal deleted inserted replaced
11853:ae5ac9830add 11854:b605cbd5f13b
81 <option label="open"> 81 <option label="open">
82 <value>open</value> 82 <value>open</value>
83 </option> 83 </option>
84 <value>publishers</value> 84 <value>publishers</value>
85 </field> 85 </field>
86 <field type='list-single' var='pubsub#send_last_published_item'>
87 <option label='never'>
88 <value>never</value>
89 </option>
90 <option label='on_sub'>
91 <value>on_sub</value>
92 </option>
93 <option label='on_sub_and_presence'>
94 <value>on_sub_and_presence</value>
95 </option>
96 <value>on_sub_and_presence</value>
97 </field>
86 <field var="pubsub#deliver_notifications" label="Whether to deliver event notifications" type="boolean"> 98 <field var="pubsub#deliver_notifications" label="Whether to deliver event notifications" type="boolean">
87 <value>1</value> 99 <value>1</value>
88 </field> 100 </field>
89 <field var="pubsub#deliver_payloads" label="Whether to deliver payloads with event notifications" type="boolean"> 101 <field var="pubsub#deliver_payloads" label="Whether to deliver payloads with event notifications" type="boolean">
90 <value>1</value> 102 <value>1</value>
156 </option> 168 </option>
157 <option label="open"> 169 <option label="open">
158 <value>open</value> 170 <value>open</value>
159 </option> 171 </option>
160 <value>publishers</value> 172 <value>publishers</value>
173 </field>
174 <field type='list-single' var='pubsub#send_last_published_item'>
175 <value>never</value>
161 </field> 176 </field>
162 <field var="pubsub#deliver_notifications" type="boolean" label="Whether to deliver event notifications"> 177 <field var="pubsub#deliver_notifications" type="boolean" label="Whether to deliver event notifications">
163 <value>1</value> 178 <value>1</value>
164 </field> 179 </field>
165 <field var="pubsub#deliver_payloads" type="boolean" label="Whether to deliver payloads with event notifications"> 180 <field var="pubsub#deliver_payloads" type="boolean" label="Whether to deliver payloads with event notifications">