diff libpurple/protocols/jabber/presence.c @ 27563:7ca43b2cd132

purple_status_to_jabber does need to strip HTML. The text we send out on the wire needs to be stripped (and <br> turned into \n), although I think this doesn't undo any of QuLogic's fixings.
author Paul Aurich <paul@darkrain42.org>
date Thu, 16 Jul 2009 02:14:03 +0000
parents a12574d982a1
children affa3b67c651
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Wed Jul 15 23:11:00 2009 +0000
+++ b/libpurple/protocols/jabber/presence.c	Thu Jul 16 02:14:03 2009 +0000
@@ -1065,7 +1065,7 @@
 
 			/* if the message is blank, then there really isn't a message */
 			if(formatted_msg && *formatted_msg)
-				*msg = g_strdup(formatted_msg);
+				*msg = purple_markup_strip_html(formatted_msg);
 		}
 
 		if(priority)