pidgin: 84289caf: Set XMPP chat topic when it contains a <...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri Aug 7 01:50:32 EDT 2009


-----------------------------------------------------------------
Revision: 84289cafb705d202e2c87aa0b5b6a00aa796b7f5
Ancestor: 0f7e2c129582bcc1c93176aea316e1189ce451f7
Author: darkrain42 at pidgin.im
Date: 2009-08-07T04:29:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/84289cafb705d202e2c87aa0b5b6a00aa796b7f5

Modified files:
        ChangeLog libpurple/protocols/jabber/chat.c

ChangeLog: 

Set XMPP chat topic when it contains a < followed by a character. Closes #5712.

-------------- next part --------------
============================================================
--- ChangeLog	80bb39a13d25dab39960abdd770f4f670a6bc996
+++ ChangeLog	ebce0f432bb93f74558e28da8f1bb14774a524c4
@@ -117,6 +117,8 @@ version 2.6.0 (??/??/2009):
 	* 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)
============================================================
--- libpurple/protocols/jabber/chat.c	b214f88f5370671384d42fc39492fdc9ec2089d3
+++ libpurple/protocols/jabber/chat.c	edd29fd58d99b137cf5a0741003c61251954df23
@@ -605,7 +605,7 @@ void jabber_chat_change_topic(JabberChat
 	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("");
 


More information about the Commits mailing list