[evolution/gnome-3-4] Bug #246581 - Replies in Sent folder goes to myself



commit 573f4413f179aabb18f6d00b62c9c2e261d50117
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 2 13:59:59 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 745609f..df8c6df 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -2780,6 +2780,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]