From 9ef60b679df822738aebac4f207ff0ab962ed188 Mon Sep 17 00:00:00 2001 From: Paul Mangan Date: Thu, 13 Dec 2001 10:17:38 +0000 Subject: [PATCH] prefer 'Reply-To' header over mailing list header --- ChangeLog.claws | 7 +++++++ configure.in | 2 +- src/compose.c | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 30a95dd3e..38682c9d6 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,10 @@ +2001-12-13 [paul] 0.6.5claws83 + + * src/compose.c + prefer 'Reply-To' header over mailing list header when + replying to a message. Finally prevent all those confirmation + messages being sent to the list itself. + 2001-12-13 [paul] 0.6.5claws82 * src/folderview.c diff --git a/configure.in b/configure.in index 205f0c8e4..a87213d08 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=6 MICRO_VERSION=5 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws82 +EXTRA_VERSION=claws83 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl diff --git a/src/compose.c b/src/compose.c index 4c4deb51c..0f69a4123 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1566,10 +1566,10 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo, if ((compose->account->protocol != A_NNTP) || followup_and_reply_to) compose_entry_append(compose, - ((compose->mailinglist && !ignore_replyto) - ? compose->mailinglist - : (compose->replyto && !ignore_replyto) + ((compose->replyto && !ignore_replyto) ? compose->replyto + : (compose->mailinglist && !ignore_replyto) + ? compose->mailinglist : msginfo->from ? msginfo->from : ""), COMPOSE_TO); if (compose->account->protocol == A_NNTP) { -- 2.25.1