changeset 28169:daa709ff32e3

Properly quote the imgstore ID in the HTML for an Ink message so that the HTML logger saves it.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 02 Sep 2009 03:22:15 +0000
parents 5546612e70e2
children 5831c47de778
files ChangeLog libpurple/protocols/msn/switchboard.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Sep 01 23:06:25 2009 +0000
+++ b/ChangeLog	Wed Sep 02 03:22:15 2009 +0000
@@ -4,9 +4,12 @@
 	libpurple:
 	* Fix --disable-avahi to actually disable it in configure, as opposed
 	  to just making the warning non-fatal.
-	* Sending custom smileys in MSN chats is now supported.
 	* Fix using GNOME proxy settings properly.  (Erik van Pienbroek)
 
+	MSN:
+	* Sending custom smileys in chats is now supported.
+	* Ink messages are now saved when using the HTML logger.
+
 	XMPP:
 	* Prompt the user before cancelling a presence subscription.
 	* Escape status messages that have HTML entities in the Get Info dialog.
--- a/libpurple/protocols/msn/switchboard.c	Tue Sep 01 23:06:25 2009 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Wed Sep 02 03:22:15 2009 +0000
@@ -920,7 +920,7 @@
 	}
 
 	imgid = purple_imgstore_add_with_id(image_data, image_len, NULL);
-	image_msg = g_strdup_printf("<IMG ID=%d/>", imgid);
+	image_msg = g_strdup_printf("<IMG ID='%d'/>", imgid);
 
 	if (swboard->current_users > 1 ||
 		((swboard->conv != NULL) &&