pidgin: 8416dfa3: Oops, it helps to actually use the strip...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Sep 8 18:21:42 EDT 2009


-----------------------------------------------------------------
Revision: 8416dfa366e9035338764be66def87d4410a29aa
Ancestor: d9bbf5f484ff385462a4940b10fece86dc6058a9
Author: darkrain42 at pidgin.im
Date: 2009-09-08T22:07:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8416dfa366e9035338764be66def87d4410a29aa

Modified files:
        libpurple/protocols/jabber/message.c

ChangeLog: 

Oops, it helps to actually use the stripped message.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/message.c	1b5ea4b67a7c657a01af1322b860c33f2cadf0df
+++ libpurple/protocols/jabber/message.c	ed5b1b3926522fb89b38f3093bf3c96c4b3e5089
@@ -1225,7 +1225,7 @@ int jabber_message_send_chat(PurpleConne
 	jm->id = jabber_get_next_id(jm->js);
 
 	tmp = purple_utf8_strip_unprintables(msg);
-	purple_markup_html_to_xhtml(msg, &xhtml, &jm->body);
+	purple_markup_html_to_xhtml(tmp, &xhtml, &jm->body);
 	g_free(tmp);
 	tmp = jabber_message_smileyfy_xhtml(jm, xhtml);
 	if (tmp) {


More information about the Commits mailing list