plugins/mod_pep.lua

changeset 2041
8cf9b978ab36
parent 1696
2afc87ccc379
child 2042
34e6e06dd089
--- 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;

mercurial