diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-16 08:01:53 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-16 08:01:53 +0000 |
commit | c21b3e1d1c8635bdeb9ead64d5616621cd2fa451 (patch) | |
tree | a605c7a70a7399c817630d1ff0e83731a91d5b51 | |
parent | f48d5f536e0de866eaa1894a96e172980171e765 (diff) |
don't reply to list for subscribe confirmation request etc.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@753 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/compose.c | 10 |
3 files changed, 20 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2005-11-16 + * src/compose.c: compose_reply_set_entry(): don't reply to list for + subscribe confirmation request etc. + +2005-11-16 + * src/folderview.c: folderview_search_unread_recursive(): don't show '+' (unread) mark even if unread messages are in Trash. diff --git a/ChangeLog.ja b/ChangeLog.ja index 7feb66f8..deafe77b 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2005-11-16 + * src/compose.c: compose_reply_set_entry(): 購読確認リクエスト等に + 対してメーリングリストに返信しないようにした。 + +2005-11-16 + * src/folderview.c: folderview_search_unread_recursive(): 未読メッセー ジがごみ箱にあっても '+' (未読)マークを表示しないようにした。 diff --git a/src/compose.c b/src/compose.c index fcc40a12..829b8265 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1509,6 +1509,16 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo, if (compose->account->protocol != A_NNTP) { if (to_ml && compose->ml_post) { + /* don't reply to list for confirmation request etc. */ + if ((!msginfo->to || + !strstr_with_skip_quote(msginfo->to, + compose->ml_post)) && + (!compose->cc || + !strstr_with_skip_quote(compose->cc, + compose->ml_post))) + to_ml = FALSE; + } + if (to_ml && compose->ml_post) { compose_entry_set(compose, compose->ml_post, COMPOSE_ENTRY_TO); if (compose->replyto && |