Mercurial > pidgin.yaz
changeset 28196:fdf1f64de3a0
Set XMPP chat topic when it contains a < followed by a character. Closes #5712.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 07 Aug 2009 04:29:55 +0000 |
parents | d1040bb86b6a |
children | 5058cdd46464 6f27b4d8c1c3 |
files | ChangeLog libpurple/protocols/jabber/chat.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Aug 07 04:21:51 2009 +0000 +++ b/ChangeLog Fri Aug 07 04:29:55 2009 +0000 @@ -117,6 +117,8 @@ * When the GNU IDN library (libidn) is available, it is used for normalization of Jabber IDs. When unavailable, internal routines are used (as in previous versions). + * Topics that contain '<' followed by a non-whitespace character can now + be set properly. Yahoo!/Yahoo! JAPAN: * P2P file transfers. (Sulabh Mahajan)
--- a/libpurple/protocols/jabber/chat.c Fri Aug 07 04:21:51 2009 +0000 +++ b/libpurple/protocols/jabber/chat.c Fri Aug 07 04:29:55 2009 +0000 @@ -605,7 +605,7 @@ jm->to = g_strdup_printf("%s@%s", chat->room, chat->server); if (topic && *topic) - jm->subject = purple_markup_strip_html(topic); + jm->subject = g_strdup(topic); else jm->subject = g_strdup("");