Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/presence.c @ 27563:7a2891487a00
Don't pre-escape jbr->status. Almost every place required it in unescaped
form. The places that did want it escaped had to go through a few hoops
just to get it right, which are no longer necessary. Also, some other
places failed to take into account that it was escaped, causing other
display bugs.
Fixes #5352.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 12 Jul 2009 22:40:54 +0000 |
parents | e1090ed76286 |
children | a12574d982a1 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Sun Jul 12 22:25:44 2009 +0000 +++ b/libpurple/protocols/jabber/presence.c Sun Jul 12 22:40:54 2009 +0000 @@ -1055,11 +1055,8 @@ formatted_msg = purple_status_get_attr_string(status, "message"); /* if the message is blank, then there really isn't a message */ - if(formatted_msg && !*formatted_msg) - formatted_msg = NULL; - - if(formatted_msg) - *msg = purple_markup_strip_html(formatted_msg); + if(formatted_msg && *formatted_msg) + *msg = g_strdup(formatted_msg); } if(priority)