forked from rpm/mutt
.
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=154
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
---
|
||||
init.h | 7 +++++++
|
||||
mutt.h | 1 +
|
||||
send.c | 8 ++++++++
|
||||
3 files changed, 16 insertions(+)
|
||||
send.c | 12 ++++++++++--
|
||||
3 files changed, 18 insertions(+), 2 deletions(-)
|
||||
|
||||
--- init.h
|
||||
+++ init.h 2016-09-13 09:58:08.893259601 +0000
|
||||
@@ -2885,6 +2885,13 @@ struct option_t MuttVars[] = {
|
||||
+++ init.h 2017-04-28 12:50:23.915168252 +0000
|
||||
@@ -3011,6 +3011,13 @@ struct option_t MuttVars[] = {
|
||||
** .pp
|
||||
** Also see the $$force_name variable.
|
||||
*/
|
||||
+ { "send_group_reply_to", DT_BOOL, R_NONE, OPTSENDGROUPREPLYTO, 0 },
|
||||
+ { "send_group_reply_to", DT_BOOL, R_NONE, OPTSENDGROUPREPLYTO, 0 },
|
||||
+ /*
|
||||
+ ** .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.
|
||||
+ */
|
||||
{ "score", DT_BOOL, R_NONE, OPTSCORE, 1 },
|
||||
{ "score", DT_BOOL, R_NONE, OPTSCORE, 1 },
|
||||
/*
|
||||
** .pp
|
||||
--- mutt.h
|
||||
+++ mutt.h 2016-09-13 09:58:08.893259601 +0000
|
||||
@@ -483,6 +483,7 @@ enum
|
||||
+++ mutt.h 2017-04-28 12:47:19.222709344 +0000
|
||||
@@ -474,6 +474,7 @@ enum
|
||||
OPTSAVEADDRESS,
|
||||
OPTSAVEEMPTY,
|
||||
OPTSAVENAME,
|
||||
@@ -31,20 +31,22 @@
|
||||
#ifdef USE_SIDEBAR
|
||||
OPTSIDEBAR,
|
||||
--- send.c
|
||||
+++ send.c 2016-09-13 09:58:08.893259601 +0000
|
||||
@@ -624,8 +624,16 @@ int mutt_fetch_recips (ENVELOPE *out, EN
|
||||
if ((flags & SENDGROUPREPLY) && (!in->mail_followup_to || hmfupto != M_YES))
|
||||
+++ send.c 2017-04-28 12:55:18.981510643 +0000
|
||||
@@ -603,8 +603,16 @@ int mutt_fetch_recips(ENVELOPE *out, ENV
|
||||
if ((flags & SENDGROUPREPLY) && (!in->mail_followup_to || hmfupto != MUTT_YES))
|
||||
{
|
||||
/* if(!mutt_addr_is_user(in->to)) */
|
||||
- rfc822_append(&out->cc, in->to, 1);
|
||||
- rfc822_append(&out->cc, in->cc, 1);
|
||||
+ if (option (OPTSENDGROUPREPLYTO))
|
||||
+ {
|
||||
+ rfc822_append (&out->to, in->to, 0);
|
||||
+ rfc822_append (&out->cc, in->cc, 1);
|
||||
+ }
|
||||
+ rfc822_append(&out->to, in->to, 0);
|
||||
+ rfc822_append(&out->cc, in->cc, 1);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
rfc822_append (&out->cc, in->to, 1);
|
||||
rfc822_append (&out->cc, in->cc, 1);
|
||||
+ rfc822_append(&out->cc, in->to, 1);
|
||||
+ rfc822_append(&out->cc, in->cc, 1);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user