aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-05-02 19:59:21 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-02 19:59:21 +0800
commitb91c6da187f51f6e2956f5d89b193f7004449360 (patch)
treef89ed531df471c8fa9a2616d68e7e517407149a3 /mail
parentc136ccf7bdb2f460dd1746d7b33b649b9425944e (diff)
downloadgsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar.gz
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar.bz2
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar.lz
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar.xz
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.tar.zst
gsoc2013-evolution-b91c6da187f51f6e2956f5d89b193f7004449360.zip
Bug #246581 - Replies in Sent folder goes to myself
Diffstat (limited to 'mail')
-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 5bacb2e38a..7ea31635e6 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)