changeset 20063:669c152c0290

Only keep track of sent auto-responses in determining whether to send an auto-response. This will keep people who have had a conversation and then set themselves away from getting confused and thinking it doesn't work
author Sean Egan <seanegan@gmail.com>
date Sat, 15 Sep 2007 22:43:17 +0000
parents 0c84170f5778
children 4da314b1e53e 7be8362039f4 8c33d2e73060
files libpurple/server.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/server.c	Sat Sep 15 21:04:01 2007 +0000
+++ b/libpurple/server.c	Sat Sep 15 22:43:17 2007 +0000
@@ -143,6 +143,7 @@
 	 */
 	auto_reply_pref = purple_prefs_get_string("/purple/away/auto_reply");
 	if ((gc->flags & PURPLE_CONNECTION_AUTO_RESP) &&
+			flags & PURPLE_MESSAGE_AUTO_RESP &&
 			!purple_presence_is_available(presence) &&
 			strcmp(auto_reply_pref, "never")) {