aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-10 00:34:37 +0200
committerKim Alvefur <zash@zash.se>2023-07-10 00:34:37 +0200
commit2b56e0473a565bc286376784e3f70c1688fad1cf (patch)
tree91308fde4edb183dae1bbbda5f44d51ec1e42141 /plugins/mod_pubsub/pubsub.lib.lua
parent4e6ccdad9644b346172681e42c9a211f32e1ec35 (diff)
parent59f9a608fda54f281658b35688c336f6a22046de (diff)
downloadprosody-2b56e0473a565bc286376784e3f70c1688fad1cf.tar.gz
prosody-2b56e0473a565bc286376784e3f70c1688fad1cf.zip
Merge 0.12->trunk
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-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