changeset 27571:dd5a512645d7

Not sure why I changed this, but it doesn't seem to be necessary. I'm going to leave in the if() simplification though.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 16 Jul 2009 04:27:57 +0000
parents a0748a638eb0
children affa3b67c651
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 16:37:46 2009 +0000
+++ b/libpurple/protocols/jabber/presence.c	Thu Jul 16 04:27:57 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)