Merge hoelzro->trunk
[prosody.git] / util / stanza.lua
index 496a4881b22f6593b24cfda1a32d99cdc1f247b5..28e26e0a407232701ce7b2bdc8af0efa41e473e3 100644 (file)
@@ -343,7 +343,7 @@ function message(attr, body)
        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)