# HG changeset patch # User Paul Aurich # Date 1247710443 0 # Node ID 7ca43b2cd1327ad669545f7a04a423dbad979eba # Parent a0baa4da321779b01cc7f4f5fe82a3ecd49ab8e4 purple_status_to_jabber does need to strip HTML. The text we send out on the wire needs to be stripped (and
turned into \n), although I think this doesn't undo any of QuLogic's fixings. diff -r a0baa4da3217 -r 7ca43b2cd132 libpurple/protocols/jabber/presence.c --- 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)