aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-03-22 16:44:47 +0000
committerMatthew Wild <mwild1@gmail.com>2023-03-22 16:44:47 +0000
commit2b72eb4211c20aba941be08b9d87d7d957ef465b (patch)
treeccb882b0e9531e01267b55fd27a918cf93fb0c89
parent5f98d0cc2359f1ab55b7af8179981592a3508faa (diff)
downloadprosody-2b72eb4211c20aba941be08b9d87d7d957ef465b.tar.gz
prosody-2b72eb4211c20aba941be08b9d87d7d957ef465b.zip
mod_pubsub/pubsub.lib: Fix accidental name/var swap (thanks scansion)
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 829e2b45..a409d640 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -167,8 +167,8 @@ local node_config_form = dataform {
{
type = "list-single";
label = "Specify whose JID to include as the publisher of items";
- name = "pubsub#itemreply";
- var = "itemreply";
+ name = "itemreply";
+ var = "pubsub#itemreply";
options = {
{ label = "Include the node owner's JID", value = "owner" };
{ label = "Include the item publisher's JID", value = "publisher" };