# HG changeset patch # User andrew.victor@mxit.com # Date 1259077991 0 # Node ID bbc3eac0ee9567ba0e5c6161b53aebabbb003049 # Parent cc391f752b0579fc442bb9770c34326a257efecd We need to escape any special "html" characters in a status message, otherwise the buddy tooltip appears empty and the buddy list window acts strange. (Similar issue to Ticket #10304) diff -r cc391f752b05 -r bbc3eac0ee95 libpurple/protocols/mxit/roster.c --- a/libpurple/protocols/mxit/roster.c Tue Nov 24 15:12:42 2009 +0000 +++ b/libpurple/protocols/mxit/roster.c Tue Nov 24 15:53:11 2009 +0000 @@ -398,7 +398,7 @@ contact->statusMsg = NULL; } if ( statusMsg[0] != '\0' ) - contact->statusMsg = g_strdup( statusMsg ); + contact->statusMsg = g_markup_escape_text( statusMsg, -1 ); /* update avatarId */ if ( ( contact->avatarId ) && ( g_ascii_strcasecmp( contact->avatarId, avatarId ) == 0 ) ) {