aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index c8b2469b..28b7be50 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -320,7 +320,7 @@ function _M.handle_disco_items_node(event, service)
end
for _, id in ipairs(ret) do
- reply:tag("item", { jid = service.jid or module.host, name = id }):up();
+ reply:tag("item", { jid = service.config.jid or module.host, name = id }):up();
end
event.exists = true;
end