changeset 28051:06ec6e21da89

cap: Ignore auto-resp messages. Closes #4633.
author Paul Aurich <paul@darkrain42.org>
date Tue, 28 Jul 2009 05:03:19 +0000
parents 2e49cbdd5040
children b29fed3c8834 9e9849b56627 36d5e7690ad6 53865ba67c11
files pidgin/plugins/cap/cap.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/cap/cap.c	Tue Jul 28 04:43:53 2009 +0000
+++ b/pidgin/plugins/cap/cap.c	Tue Jul 28 05:03:19 2009 +0000
@@ -373,6 +373,9 @@
 	CapStatistics *stats;
 	/* guint words = word_count(message); */
 
+	if (flags & PURPLE_MESSAGE_AUTO_RESP)
+		return;
+
 	buddy = purple_find_buddy(account, sender);
 
 	if (buddy == NULL)