# HG changeset patch # User Mark Doliner # Date 1130125430 0 # Node ID 12d093e3a58083a3058f6145b397721d9776ef11 # Parent c9188d3eb9d30bf3349d2ae5a187497763ef59ac [gaim-migrate @ 14079] Kevin tracked this change down from oldstatus. It's sposed to fix incoming formatting on jabber messages, I believe committer: Tailor Script diff -r c9188d3eb9d3 -r 12d093e3a580 src/protocols/jabber/message.c --- a/src/protocols/jabber/message.c Mon Oct 24 03:37:31 2005 +0000 +++ b/src/protocols/jabber/message.c Mon Oct 24 03:43:50 2005 +0000 @@ -286,7 +286,7 @@ if(!jm->body) jm->body = xmlnode_to_str(child, NULL); } else if(!strcmp(child->name, "html")) { - if(!jm->xhtml && child->data_sz > 0) + if(!jm->xhtml && xmlnode_get_child(child, "body")) jm->xhtml = xmlnode_to_str(child, NULL); } else if(!strcmp(child->name, "error")) { const char *code = xmlnode_get_attrib(child, "code");