changeset 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 a0baa4da3217
children d677981cf97e
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)