aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-composer-utils.c')
-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)