comparison src/protocols/jabber/message.c @ 7894:8a9f0754f0be

[gaim-migrate @ 8554] oops. this will make things easier on gtkimhtml committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 19 Dec 2003 08:31:06 +0000
parents d9a7774b5b3c
children e87e7d9d0132
comparison
equal deleted inserted replaced
7893:347c674e6368 7894:8a9f0754f0be
273 if(!strcmp(child->name, "subject")) { 273 if(!strcmp(child->name, "subject")) {
274 if(!jm->subject) 274 if(!jm->subject)
275 jm->subject = xmlnode_get_data(child); 275 jm->subject = xmlnode_get_data(child);
276 } else if(!strcmp(child->name, "body")) { 276 } else if(!strcmp(child->name, "body")) {
277 if(!jm->body) 277 if(!jm->body)
278 jm->body = xmlnode_get_data(child); 278 jm->body = xmlnode_to_str(child, NULL);
279 } else if(!strcmp(child->name, "html")) { 279 } else if(!strcmp(child->name, "html")) {
280 if(!jm->xhtml) 280 if(!jm->xhtml)
281 jm->xhtml = xmlnode_to_str(child, NULL); 281 jm->xhtml = xmlnode_to_str(child, NULL);
282 } else if(!strcmp(child->name, "error")) { 282 } else if(!strcmp(child->name, "error")) {
283 const char *code = xmlnode_get_attrib(child, "code"); 283 const char *code = xmlnode_get_attrib(child, "code");