# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1679580992 0 # Node ID 7465d3c5679deab6a511cffe52eaaabee1e1a7ae # Parent edde56b60fd7707d32e154e8c847477e50baea96 scansion: Fix tests failing after addition of pubsub#itemreply config field This is a newly added field, and we expect to see it in these places now. diff -r edde56b60fd7 -r 7465d3c5679d spec/scansion/pubsub_config.scs --- a/spec/scansion/pubsub_config.scs Thu Mar 23 14:15:33 2023 +0000 +++ b/spec/scansion/pubsub_config.scs Thu Mar 23 14:16:32 2023 +0000 @@ -119,6 +119,18 @@ <field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean"> <value>1</value> </field> + <field label="Specify whose JID to include as the publisher of items" var="pubsub#itemreply" type="list-single"> + <option label="Include the node owner's JID"> + <value>owner</value> + </option> + <option label="Include the item publisher's JID"> + <value>publisher</value> + </option> + <option label="Don't include any JID with items"> + <value>none</value> + </option> + <value>none</value> + </field> </x> </configure> </pubsub> diff -r edde56b60fd7 -r 7465d3c5679d spec/scansion/pubsub_max_items.scs --- a/spec/scansion/pubsub_max_items.scs Thu Mar 23 14:15:33 2023 +0000 +++ b/spec/scansion/pubsub_max_items.scs Thu Mar 23 14:16:32 2023 +0000 @@ -114,6 +114,18 @@ <field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean"> <value>1</value> </field> + <field label="Specify whose JID to include as the publisher of items" var="pubsub#itemreply" type="list-single"> + <option label="Include the node owner's JID"> + <value>owner</value> + </option> + <option label="Include the item publisher's JID"> + <value>publisher</value> + </option> + <option label="Don't include any JID with items"> + <value>none</value> + </option> + <value>none</value> + </field> </x> </configure> </pubsub> diff -r edde56b60fd7 -r 7465d3c5679d spec/scansion/pubsub_multi_items.scs --- a/spec/scansion/pubsub_multi_items.scs Thu Mar 23 14:15:33 2023 +0000 +++ b/spec/scansion/pubsub_multi_items.scs Thu Mar 23 14:16:32 2023 +0000 @@ -114,6 +114,18 @@ <field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean"> <value>1</value> </field> + <field label="Specify whose JID to include as the publisher of items" var="pubsub#itemreply" type="list-single"> + <option label="Include the node owner's JID"> + <value>owner</value> + </option> + <option label="Include the item publisher's JID"> + <value>publisher</value> + </option> + <option label="Don't include any JID with items"> + <value>none</value> + </option> + <value>none</value> + </field> </x> </configure> </pubsub> diff -r edde56b60fd7 -r 7465d3c5679d spec/scansion/pubsub_preconditions.scs --- a/spec/scansion/pubsub_preconditions.scs Thu Mar 23 14:15:33 2023 +0000 +++ b/spec/scansion/pubsub_preconditions.scs Thu Mar 23 14:16:32 2023 +0000 @@ -118,6 +118,18 @@ <field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean"> <value>1</value> </field> + <field label="Specify whose JID to include as the publisher of items" var="pubsub#itemreply" type="list-single"> + <option label="Include the node owner's JID"> + <value>owner</value> + </option> + <option label="Include the item publisher's JID"> + <value>publisher</value> + </option> + <option label="Don't include any JID with items"> + <value>none</value> + </option> + <value>none</value> + </field> </x> </configure> </pubsub> @@ -199,6 +211,9 @@ <field var="pubsub#notify_retract" type="boolean" label="Whether to notify subscribers when items are removed from the node"> <value>1</value> </field> + <field var="pubsub#itemreply" type="boolean"> + <value>none</value> + </field> </x> </configure> </pubsub>