pidgin: e4c32cad: Not sure why I changed this, but it does...

qulogic at pidgin.im qulogic at pidgin.im
Thu Jul 16 01:20:37 EDT 2009


-----------------------------------------------------------------
Revision: e4c32cad9d2c1ef8f8ff9e096994925bb314b762
Ancestor: dde113d3a3376b87e0c8ed0ede8c73e7ac207135
Author: qulogic at pidgin.im
Date: 2009-07-16T04:27:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e4c32cad9d2c1ef8f8ff9e096994925bb314b762

Modified files:
        libpurple/protocols/jabber/presence.c

ChangeLog: 

Not sure why I changed this, but it doesn't seem to be necessary. I'm going
to leave in the if() simplification though.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	d0f0f51a8925e190c09edc7f74e92da0ba75f862
+++ libpurple/protocols/jabber/presence.c	bbc89f0635d31b781ed5447c010445a819e9969e
@@ -1065,7 +1065,7 @@ void purple_status_to_jabber(const Purpl
 
 			/* 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)


More information about the Commits mailing list