Mercurial > pidgin
diff src/protocols/jabber/message.c @ 8537:dc818b62379e
[gaim-migrate @ 9276]
jabber fixination
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Wed, 31 Mar 2004 18:37:06 +0000 |
| parents | 0383e55cd658 |
| children | 599d6ac9bbfe |
line wrap: on
line diff
--- a/src/protocols/jabber/message.c Wed Mar 31 15:51:31 2004 +0000 +++ b/src/protocols/jabber/message.c Wed Mar 31 18:37:06 2004 +0000 @@ -195,6 +195,7 @@ { GHashTable *components; JabberID *jid = jabber_id_new(jm->to); + char *stripped; if(!jid) return; @@ -209,7 +210,9 @@ g_strdup(jm->password)); jabber_id_free(jid); - serv_got_chat_invite(jm->js->gc, jm->to, jm->from, jm->body, components); + stripped = gaim_markup_strip_html(jm->body); + serv_got_chat_invite(jm->js->gc, jm->to, jm->from, stripped, components); + g_free(stripped); } static void handle_error(JabberMessage *jm)
