aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2010-12-22 17:23:55 +0100
committerKim Alvefur <zash@zash.se>2010-12-22 17:23:55 +0100
commitdd1c339b8dbe7d989b8df838e42377b85bc92bfc (patch)
tree8d31c9715d608e5052f8d8a3d987f3395b3080f1 /plugins/mod_pubsub.lua
parent79f8d774812bc98bd432e5341814446100e24cfe (diff)
downloadprosody-dd1c339b8dbe7d989b8df838e42377b85bc92bfc.tar.gz
prosody-dd1c339b8dbe7d989b8df838e42377b85bc92bfc.zip
mod_pubsub: Fix missing disco#items xmlns
Diffstat (limited to 'plugins/mod_pubsub.lua')
-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 99f645a2..48bfb884 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 = 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();