aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-22 02:12:24 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-22 02:12:24 +0500
commit64206e36450b27e5f4c88b66e5ad81eab3108389 (patch)
treecdc40246fc5efafcfc94e207a6ff154e35c59f28 /plugins/mod_pep.lua
parentab3980653aa1b19856e64624aa11cf0ceff36902 (diff)
downloadprosody-64206e36450b27e5f4c88b66e5ad81eab3108389.tar.gz
prosody-64206e36450b27e5f4c88b66e5ad81eab3108389.zip
PEP: Fixed namespace for the <item> element in PEP broadcasts.
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 842f1fce..45cbc9fc 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -29,6 +29,7 @@ module:add_identity("pubsub", "pep", "Prosody");
module:add_feature("http://jabber.org/protocol/pubsub#publish");
local function publish(session, node, item)
+ item.attr.xmlns = nil;
local disable = #item.tags ~= 1 or #item.tags[1].tags == 0;
if #item.tags == 0 then item.name = "retract"; end
local bare = session.username..'@'..session.host;