Software /
code /
prosody
Changeset
12961:1cbfa843f8c3
mod_pubsub/pubsub.lib: Fix accidental name/var swap (thanks scansion)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Mar 2023 16:44:47 +0000 |
parents | 12960:31b22cc221b5 |
children | 12962:1b179d14a1dd |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Wed Mar 22 11:39:19 2023 +0000 +++ b/plugins/mod_pubsub/pubsub.lib.lua Wed Mar 22 16:44:47 2023 +0000 @@ -167,8 +167,8 @@ { 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" };