# HG changeset patch # User Waqas Hussain # Date 1256159544 -18000 # Node ID 8cf9b978ab365f9f6c9432483d978bd46dc1da87 # Parent ca85461afa6c91de3e0866a308ebff4c09142909 PEP: Fixed namespace for the element in PEP broadcasts. diff -r ca85461afa6c -r 8cf9b978ab36 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Wed Oct 21 20:30:42 2009 +0100 +++ b/plugins/mod_pep.lua Thu Oct 22 02:12:24 2009 +0500 @@ -29,6 +29,7 @@ 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;