aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;