Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
mutt.23793
mutt-1.5.20-sendgroupreplyto.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mutt-1.5.20-sendgroupreplyto.diff of Package mutt.23793
--- init.h | 7 +++++++ mutt.h | 1 + send.c | 12 ++++++++++-- 3 files changed, 18 insertions(+), 2 deletions(-) --- init.h +++ init.h 2018-07-04 12:14:37.508148148 +0000 @@ -2809,6 +2792,13 @@ struct option_t MuttVars[] = { ** .pp ** Also see the $$force_name variable. */ + { "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 }, /* ** .pp --- mutt.h +++ mutt.h 2018-07-04 12:14:07.560692103 +0000 @@ -468,6 +468,7 @@ enum OPTSAVEADDRESS, OPTSAVEEMPTY, OPTSAVENAME, + OPTSENDGROUPREPLYTO, OPTSCORE, #ifdef USE_SIDEBAR OPTSIDEBAR, --- send.c +++ send.c 2018-07-04 12:15:43.734945139 +0000 @@ -557,8 +557,16 @@ int mutt_fetch_recips (ENVELOPE *out, EN 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); + } + else + { + rfc822_append(&out->cc, in->to, 1); + rfc822_append(&out->cc, in->cc, 1); + } } } return 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor