[evolution] Bug #246581 - Replies in Sent folder goes to myself



commit b91c6da187f51f6e2956f5d89b193f7004449360
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 2 13:59:21 2012 +0200

    Bug #246581 - Replies in Sent folder goes to myself

 mail/em-composer-utils.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 5bacb2e..7ea3163 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -2819,6 +2819,10 @@ em_utils_reply_to_message (EShell *shell,
 	account = em_utils_guess_account_with_recipients (message, folder);
 	flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_SEEN;
 
+	if (!address && (type == E_MAIL_REPLY_TO_FROM || type == E_MAIL_REPLY_TO_SENDER) &&
+	    folder && em_utils_folder_is_sent (folder))
+		type = E_MAIL_REPLY_TO_ALL;
+
 	switch (type) {
 	case E_MAIL_REPLY_TO_FROM:
 		if (folder)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]