util/stanza.lua

changeset 3502
28887137bb1b
parent 3478
4621c92d2368
child 3638
6f58a3063c14
--- a/util/stanza.lua	Sun Sep 19 17:51:00 2010 +0500
+++ b/util/stanza.lua	Tue Sep 21 17:24:25 2010 +0500
@@ -343,7 +343,7 @@
 	if not body then
 		return stanza("message", attr);
 	else
-		return stanza("message", attr):tag("body"):text(body);
+		return stanza("message", attr):tag("body"):text(body):up();
 	end
 end
 function iq(attr)

mercurial