comparison src/protocols/jabber/message.c @ 7444:66945d35a7c0

[gaim-migrate @ 8049] fix jabber chat issues committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 06 Nov 2003 05:44:28 +0000
parents 565b5bca5e8a
children f3f47de6d8a7
comparison
equal deleted inserted replaced
7443:df50bd14e161 7444:66945d35a7c0
472 472
473 chat = jabber_chat_find_by_id(js, id); 473 chat = jabber_chat_find_by_id(js, id);
474 474
475 jm = g_new0(JabberMessage, 1); 475 jm = g_new0(JabberMessage, 1);
476 jm->js = gc->proto_data; 476 jm->js = gc->proto_data;
477 jm->type = JABBER_MESSAGE_CHAT; 477 jm->type = JABBER_MESSAGE_GROUPCHAT;
478 jm->to = g_strdup_printf("%s@%s", chat->room, chat->server); 478 jm->to = g_strdup_printf("%s@%s", chat->room, chat->server);
479 479
480 buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body>%s</body></html>", msg); 480 buf = g_strdup_printf("<html xmlns='http://jabber.org/protocol/xhtml-im'><body>%s</body></html>", msg);
481 481
482 gaim_markup_html_to_xhtml(buf, &xhtml, &jm->body); 482 gaim_markup_html_to_xhtml(buf, &xhtml, &jm->body);