Mercurial > pidgin
changeset 11788:12d093e3a580
[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 <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 24 Oct 2005 03:43:50 +0000 |
parents | c9188d3eb9d3 |
children | 1c53ff1e7a0d |
files | src/protocols/jabber/message.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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");