comparison src/protocols/jabber/presence.c @ 7095:c8bf2da398e3

[gaim-migrate @ 7660] html.[ch] is gone. Everything inside was namespaced and put in util.[ch]. One less ugly part of gaim in the tree. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 03:43:18 +0000
parents dece74f05509
children bf630f7dfdcd
comparison
equal deleted inserted replaced
7094:2343c3aa1dec 7095:c8bf2da398e3
19 * 19 *
20 */ 20 */
21 #include "internal.h" 21 #include "internal.h"
22 22
23 #include "debug.h" 23 #include "debug.h"
24 #include "html.h"
25 #include "notify.h" 24 #include "notify.h"
26 #include "request.h" 25 #include "request.h"
27 #include "server.h" 26 #include "server.h"
27 #include "util.h"
28 28
29 #include "buddy.h" 29 #include "buddy.h"
30 #include "chat.h" 30 #include "chat.h"
31 #include "presence.h" 31 #include "presence.h"
32 #include "iq.h" 32 #include "iq.h"
52 JabberStream *js = gc->proto_data; 52 JabberStream *js = gc->proto_data;
53 xmlnode *presence; 53 xmlnode *presence;
54 char *stripped = NULL; 54 char *stripped = NULL;
55 55
56 if(msg) { 56 if(msg) {
57 html_to_xhtml(msg, NULL, &stripped); 57 gaim_markup_html_to_xhtml(msg, NULL, &stripped);
58 } else { 58 } else {
59 stripped = g_strdup(""); 59 stripped = g_strdup("");
60 } 60 }
61 61
62 gc->away = stripped; 62 gc->away = stripped;