Software /
code /
prosody
Diff
spec/scansion/pubsub_max_items.scs @ 12966:7465d3c5679d
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Mar 2023 14:16:32 +0000 |
parent | 11856:14a679588b7b |
line wrap: on
line diff
--- 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>