Software /
code /
prosody
Diff
plugins/mod_pubsub.lua @ 3946:14239141764f
mod_pubsub: Fix missing disco#items xmlns
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Dec 2010 17:23:55 +0100 |
parent | 3944:74a422abec11 |
child | 3949:fc4ff6db1e57 |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Wed Dec 22 17:42:35 2010 +0100 +++ b/plugins/mod_pubsub.lua Wed Dec 22 17:23:55 2010 +0100 @@ -260,7 +260,7 @@ end local reply = st.reply(stanza) - :tag("query", { xmlns = xmlns_disco_items }); + :tag("query", { xmlns = "http://jabber.org/protocol/disco#items" }); for id, item in pairs(ret) do reply:tag("item", { jid = module.host, name = id }):up();