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 83cef808..3196569f 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -309,7 +309,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