pidgin: 3f513b01: cap: Ignore auto-resp messages. Closes #...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Jul 28 01:55:48 EDT 2009


-----------------------------------------------------------------
Revision: 3f513b0104cd70be9b4b8bd82a89a65e750676a2
Ancestor: 31e040ab1b9ac3ec6250c3e89b47f8df06c03879
Author: darkrain42 at pidgin.im
Date: 2009-07-28T05:03:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3f513b0104cd70be9b4b8bd82a89a65e750676a2

Modified files:
        pidgin/plugins/cap/cap.c

ChangeLog: 

cap: Ignore auto-resp messages. Closes #4633.

-------------- next part --------------
============================================================
--- pidgin/plugins/cap/cap.c	7eeb66f4f88299e51e470dff130793a447aef762
+++ pidgin/plugins/cap/cap.c	3efadfb1d42c7d1416bb9ab45d8e4f43165cc0da
@@ -373,6 +373,9 @@ received_im_msg(PurpleAccount *account, 
 	CapStatistics *stats;
 	/* guint words = word_count(message); */
 
+	if (flags & PURPLE_MESSAGE_AUTO_RESP)
+		return;
+
 	buddy = purple_find_buddy(account, sender);
 
 	if (buddy == NULL)


More information about the Commits mailing list