Comparison

spec/scansion/pubsub_max_items.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 11768:aa6ab07544c2
child 11855:8890eaa69446
comparison
equal deleted inserted replaced
11853:ae5ac9830add 11854:b605cbd5f13b
77 <option label="open"> 77 <option label="open">
78 <value>open</value> 78 <value>open</value>
79 </option> 79 </option>
80 <value>publishers</value> 80 <value>publishers</value>
81 </field> 81 </field>
82 <field type='list-single' var='pubsub#send_last_published_item'>
83 <option label='never'>
84 <value>never</value>
85 </option>
86 <option label='on_sub'>
87 <value>on_sub</value>
88 </option>
89 <option label='on_sub_and_presence'>
90 <value>on_sub_and_presence</value>
91 </option>
92 <value>never</value>
93 </field>
82 <field var="pubsub#deliver_notifications" label="Whether to deliver event notifications" type="boolean"> 94 <field var="pubsub#deliver_notifications" label="Whether to deliver event notifications" type="boolean">
83 <value>1</value> 95 <value>1</value>
84 </field> 96 </field>
85 <field var="pubsub#deliver_payloads" label="Whether to deliver payloads with event notifications" type="boolean"> 97 <field var="pubsub#deliver_payloads" label="Whether to deliver payloads with event notifications" type="boolean">
86 <value>1</value> 98 <value>1</value>