changeset 25143:a46e527d1473

Evan's original change to the Direct IM autoreplies is on im.pidgin.pidgin, so pluck those two changes (8b88c7e8 and f6ba6824) over from im.pidgin.adium. applied changes from 30c025a5facc491ee082435ffe5d2ccfec619678 through f6ba682452e5dda1db8721a71a4095dc665c7039
author Paul Aurich <paul@darkrain42.org>
date Mon, 23 Feb 2009 21:12:19 +0000
parents e3e7bfc2b8de
children ac8defe6eee4
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Mon Feb 23 20:12:35 2009 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Feb 23 21:12:19 2009 +0000
@@ -4421,7 +4421,7 @@
 	}
 	g_string_free(data, TRUE);
 
-	peer_odc_send_im(conn, msg->str, msg->len, charset, imflags);
+	peer_odc_send_im(conn, msg->str, msg->len, charset, (imflags & PURPLE_MESSAGE_AUTO_RESP));
 	g_string_free(msg, TRUE);
 }
 
@@ -4461,6 +4461,7 @@
 	if ((conn != NULL) && (conn->ready))
 	{
 		/* If we're directly connected, send a direct IM */
+		purple_debug_info("oscar", "Sending direct IM with flags %i", imflags);
 		purple_odc_send_im(conn, tmp1, imflags);
 	} else {
 		struct buddyinfo *bi;