src/protocols/jabber/message.c

changeset 7894
daaddb018c5a
parent 7773
5d92f7e60cc4
child 7923
fd43ed3cda18
--- a/src/protocols/jabber/message.c	Fri Dec 19 00:37:16 2003 +0000
+++ b/src/protocols/jabber/message.c	Fri Dec 19 08:31:06 2003 +0000
@@ -275,7 +275,7 @@
 				jm->subject = xmlnode_get_data(child);
 		} else if(!strcmp(child->name, "body")) {
 			if(!jm->body)
-				jm->body = xmlnode_get_data(child);
+				jm->body = xmlnode_to_str(child, NULL);
 		} else if(!strcmp(child->name, "html")) {
 			if(!jm->xhtml)
 				jm->xhtml = xmlnode_to_str(child, NULL);

mercurial