# HG changeset patch # User Elliott Sales de Andrade # Date 1247718477 0 # Node ID dd5a512645d7a16c504608788fa510ebef762d94 # Parent a0748a638eb0672cd46a9ad51d558c217daf2ea6 Not sure why I changed this, but it doesn't seem to be necessary. I'm going to leave in the if() simplification though. diff -r a0748a638eb0 -r dd5a512645d7 libpurple/protocols/jabber/presence.c --- 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)