From 3fa84baafc2cef40ea6a31f26013609cba97ce56 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 22 Dec 2010 23:30:47 +0000 Subject: mod_pubsub: Include node in disco#items reply --- plugins/mod_pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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(); -- cgit v1.2.3