Software /
code /
prosody
Diff
plugins/mod_pubsub/pubsub.lib.lua @ 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 |
parent | 12960:31b22cc221b5 |
child | 12977:74b9e05af71e |
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" };