aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/pubsub_multi_items.scs
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-03-23 14:16:32 +0000
committerMatthew Wild <mwild1@gmail.com>2023-03-23 14:16:32 +0000
commitf3792af0fe2ce764311d8240da1c74bef7fb51c9 (patch)
treec42d07059e7fac646af307e3ca3f7bc80ae8deee /spec/scansion/pubsub_multi_items.scs
parent18d9e6f65ac19a940d77cbee3cae7934e40d06fc (diff)
downloadprosody-f3792af0fe2ce764311d8240da1c74bef7fb51c9.tar.gz
prosody-f3792af0fe2ce764311d8240da1c74bef7fb51c9.zip
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.
Diffstat (limited to 'spec/scansion/pubsub_multi_items.scs')
-rw-r--r--spec/scansion/pubsub_multi_items.scs12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/scansion/pubsub_multi_items.scs b/spec/scansion/pubsub_multi_items.scs
index e43bc839..7f365b94 100644
--- a/spec/scansion/pubsub_multi_items.scs
+++ b/spec/scansion/pubsub_multi_items.scs
@@ -114,6 +114,18 @@ Alice receives:
<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>