aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-05-02 19:59:59 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-02 19:59:59 +0800
commit573f4413f179aabb18f6d00b62c9c2e261d50117 (patch)
treec148cc3c46b594f07232c64291b7c44f244d67cd
parent7c08af02b24e5f8c7310215f180140227007f9e2 (diff)
downloadgsoc2013-evolution-573f4413f179aabb18f6d00b62c9c2e261d50117.tar.gz
gsoc2013-evolution-573f4413f179aabb18f6d00b62c9c2e261d50117.tar.zst
gsoc2013-evolution-573f4413f179aabb18f6d00b62c9c2e261d50117.zip
Bug #246581 - Replies in Sent folder goes to myself
-rw-r--r--mail/em-composer-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 745609fbc0..df8c6df187 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)