aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-22 23:30:47 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-22 23:30:47 +0000
commit3fa84baafc2cef40ea6a31f26013609cba97ce56 (patch)
tree717b7b4bb75d0991e7a32e6499a31977dd62593e /plugins
parent1547e93d2824ad08457f3387d463b5d27c596b2a (diff)
downloadprosody-3fa84baafc2cef40ea6a31f26013609cba97ce56.tar.gz
prosody-3fa84baafc2cef40ea6a31f26013609cba97ce56.zip
mod_pubsub: Include node in disco#items reply
Diffstat (limited to 'plugins')
-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 48bfb884..90c19815 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -260,7 +260,7 @@ local function handle_disco_items_on_node(event)
end
local reply = st.reply(stanza)
- :tag("query", { xmlns = "http://jabber.org/protocol/disco#items" });
+ :tag("query", { xmlns = "http://jabber.org/protocol/disco#items", node = node });
for id, item in pairs(ret) do
reply:tag("item", { jid = module.host, name = id }):up();