pidgin: eae0f16a: Evan's original change to the Direct IM ...

paul at darkrain42.org paul at darkrain42.org
Mon Feb 23 16:15:46 EST 2009


-----------------------------------------------------------------
Revision: eae0f16adb5a8f98b940d397ee678683d4547f20
Ancestor: 699879973ee450219dbf7eda3e3309d2cd13a26e
Author: paul at darkrain42.org
Date: 2009-02-23T21:12:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/eae0f16adb5a8f98b940d397ee678683d4547f20

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	23643a831ac37e40ab89982801b9268220545660
+++ libpurple/protocols/oscar/oscar.c	40c973b4dd061f3de4d035b9957779a1ffa1bb47
@@ -4421,7 +4421,7 @@ purple_odc_send_im(PeerConnection *conn,
 	}
 	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 @@ oscar_send_im(PurpleConnection *gc, cons
 	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;


More information about the Commits mailing list