Thu, 22 Oct 2009 02:12:24 +0500
PEP: Fixed namespace for the <item> element in PEP broadcasts.
plugins/mod_pep.lua | file | annotate | diff | comparison | revisions |
--- 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;