2016-05-12 16:10:16 +02:00
|
|
|
---
|
2018-07-05 13:57:50 +02:00
|
|
|
init.h | 7 +++++++
|
|
|
|
mutt.h | 1 +
|
2019-11-14 09:54:32 +01:00
|
|
|
send.c | 9 ++++++---
|
|
|
|
3 files changed, 14 insertions(+), 3 deletions(-)
|
2016-05-12 16:10:16 +02:00
|
|
|
|
|
|
|
--- init.h
|
2020-01-15 07:59:22 +01:00
|
|
|
+++ init.h 2020-01-14 13:12:26.725982952 +0000
|
2020-11-10 10:16:35 +01:00
|
|
|
@@ -3235,6 +3235,13 @@ struct option_t MuttVars[] = {
|
2007-01-16 00:26:03 +01:00
|
|
|
** .pp
|
2009-07-03 16:33:22 +02:00
|
|
|
** Also see the $$force_name variable.
|
2007-01-16 00:26:03 +01:00
|
|
|
*/
|
2020-01-15 07:59:22 +01:00
|
|
|
+ { "send_group_reply_to", DT_BOOL, R_NONE, {.l=OPTSENDGROUPREPLYTO}, {.l=0} },
|
2007-01-16 00:26:03 +01:00
|
|
|
+ /*
|
|
|
|
+ ** .pp
|
|
|
|
+ ** This variable controls how group replies are done.
|
|
|
|
+ ** When set, all recepients listet in "To:" are set in the
|
|
|
|
+ ** "To:" header again, else in the "CC", which is the default.
|
|
|
|
+ */
|
2020-01-15 07:59:22 +01:00
|
|
|
{ "score", DT_BOOL, R_NONE, {.l=OPTSCORE}, {.l=1} },
|
2007-01-16 00:26:03 +01:00
|
|
|
/*
|
|
|
|
** .pp
|
2018-07-05 13:57:50 +02:00
|
|
|
--- mutt.h
|
2020-01-15 07:59:22 +01:00
|
|
|
+++ mutt.h 2020-01-14 13:07:33.727426389 +0000
|
2020-11-10 10:16:35 +01:00
|
|
|
@@ -524,6 +524,7 @@ enum
|
2018-07-05 13:57:50 +02:00
|
|
|
OPTSAVEADDRESS,
|
|
|
|
OPTSAVEEMPTY,
|
|
|
|
OPTSAVENAME,
|
|
|
|
+ OPTSENDGROUPREPLYTO,
|
|
|
|
OPTSCORE,
|
2016-05-12 16:10:16 +02:00
|
|
|
#ifdef USE_SIDEBAR
|
2018-07-05 13:57:50 +02:00
|
|
|
OPTSIDEBAR,
|
2016-05-12 16:10:16 +02:00
|
|
|
--- send.c
|
2020-01-15 07:59:22 +01:00
|
|
|
+++ send.c 2020-01-14 13:07:33.727426389 +0000
|
2020-11-10 10:16:35 +01:00
|
|
|
@@ -695,9 +695,12 @@ int mutt_fetch_recips (ENVELOPE *out, EN
|
2019-11-14 09:54:32 +01:00
|
|
|
(!in->mail_followup_to || hmfupto != MUTT_YES))
|
2007-01-16 00:26:03 +01:00
|
|
|
{
|
2019-11-14 09:54:32 +01:00
|
|
|
/* if (!mutt_addr_is_user(in->to)) */
|
|
|
|
- if (flags & SENDGROUPREPLY)
|
|
|
|
- rfc822_append (&out->cc, in->to, 1);
|
|
|
|
- else
|
|
|
|
+ if (flags & SENDGROUPREPLY) {
|
|
|
|
+ if (option (OPTSENDGROUPREPLYTO))
|
|
|
|
+ rfc822_append (&out->to, in->to, 1);
|
|
|
|
+ else
|
|
|
|
+ rfc822_append (&out->cc, in->to, 1);
|
|
|
|
+ } else
|
|
|
|
rfc822_append (&out->to, in->to, 1);
|
|
|
|
rfc822_append (&out->cc, in->cc, 1);
|
2007-01-16 00:26:03 +01:00
|
|
|
}
|