aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index ecb5115a..5f100e20 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -232,7 +232,7 @@ local function handle_disco_items_on_node(event)
:tag("query", { xmlns = xmlns_disco_items });
for id, item in pairs(ret) do
- reply:tag("item", { jid = module.host, name = id });
+ reply:tag("item", { jid = module.host, name = id }):up();
end
return origin.send(reply);