[Commits] [SCM] claws branch, master, updated. 3.9.3-52-g6469d53
claws at claws-mail.org
claws at claws-mail.org
Thu Mar 20 09:46:47 CET 2014
The branch master of project "claws" (Claws Mail) has been updated
via 6469d5311aae1b83485589e91ab40afad51bd63c (commit)
from 253b35157ac94a93ae05d981103aa7f927e106c5 (commit)
- Log -----------------------------------------------------------------
commit 6469d5311aae1b83485589e91ab40afad51bd63c
Author: Paul <paul at claws-mail.org>
Date: Thu Mar 20 08:46:38 2014 +0000
don't reply to self when doing reply to all
diff --git a/src/compose.c b/src/compose.c
index d9593c0..9999c7e 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -3282,16 +3282,18 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
gchar *tmp1 = NULL;
if (!msginfo->from)
return;
- Xstrdup_a(tmp1, msginfo->from, return);
- extract_address(tmp1);
- if (to_all || to_sender ||
- !account_find_from_address(tmp1, FALSE))
+ if (to_sender)
+ compose_entry_append(compose, msginfo->from,
+ COMPOSE_TO, PREF_NONE);
+ else if (to_all) {
+ Xstrdup_a(tmp1, msginfo->from, return);
+ extract_address(tmp1);
compose_entry_append(compose,
- (compose->replyto && !to_sender)
- ? compose->replyto :
- msginfo->from ? msginfo->from : "",
+ (!account_find_from_address(tmp1, FALSE))
+ ? msginfo->from :
+ msginfo->to,
COMPOSE_TO, PREF_NONE);
- else if (!to_all && !to_sender) {
+ } else {
if (!folder_has_parent_of_type(msginfo->folder, F_QUEUE) &&
!folder_has_parent_of_type(msginfo->folder, F_OUTBOX) &&
!folder_has_parent_of_type(msginfo->folder, F_DRAFT)) {
-----------------------------------------------------------------------
Summary of changes:
src/compose.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list