util/xmppstream.lua

changeset 3444
e6a78e15fed2
parent 3424
9e0df614e5d0
child 3540
bc139431830b
--- a/util/xmppstream.lua	Tue Aug 03 18:20:29 2010 +0500
+++ b/util/xmppstream.lua	Tue Aug 03 20:05:58 2010 +0500
@@ -95,10 +95,6 @@
 			
 			stanza = st.stanza(name, attr);
 		else -- we are inside a stanza, so add a tag
-			attr.xmlns = nil;
-			if curr_ns ~= stream_default_ns then
-				attr.xmlns = curr_ns;
-			end
 			stanza:tag(name, attr);
 		end
 	end

mercurial