diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-22 23:30:47 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-22 23:30:47 +0000 |
commit | 3fa84baafc2cef40ea6a31f26013609cba97ce56 (patch) | |
tree | 717b7b4bb75d0991e7a32e6499a31977dd62593e /plugins/mod_pubsub.lua | |
parent | 1547e93d2824ad08457f3387d463b5d27c596b2a (diff) | |
download | prosody-3fa84baafc2cef40ea6a31f26013609cba97ce56.tar.gz prosody-3fa84baafc2cef40ea6a31f26013609cba97ce56.zip |
mod_pubsub: Include node in disco#items reply
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r-- | plugins/mod_pubsub.lua | 2 |
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(); |