Changeset

3949:fc4ff6db1e57

mod_pubsub: Include node in disco#items reply
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Dec 2010 23:30:47 +0000
parents 3948:d0b8fa486458
children 3950:27947d66b814
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Wed Dec 22 20:39:30 2010 +0000
+++ b/plugins/mod_pubsub.lua	Wed Dec 22 23:30:47 2010 +0000
@@ -260,7 +260,7 @@
 	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();