]> git.pld-linux.org Git - packages/mutt.git/blobdiff - mutt-keep_to.patch
- updated to 1.12.0
[packages/mutt.git] / mutt-keep_to.patch
index 70567b1c4eeb65e2f8d613622dfabaca3362b546..f99fd29bb31f8bbf2b4cd89ea69309000447ed4b 100644 (file)
@@ -5,19 +5,15 @@ author: Jan Palus
 diff -urN mutt-1.5.23.orig/send.c mutt-1.5.23/send.c
 --- mutt-1.5.23.orig/send.c    2014-10-12 16:55:39.680846728 +0200
 +++ mutt-1.5.23/send.c 2014-10-12 16:55:52.104179682 +0200
-@@ -557,7 +557,11 @@
-     if ((flags & SENDGROUPREPLY) && (!in->mail_followup_to || hmfupto != M_YES))
+@@ -672,7 +672,7 @@
+         (!in->mail_followup_to || hmfupto != MUTT_YES))
      {
-       /* if(!mutt_addr_is_user(in->to)) */
--      rfc822_append (&out->cc, in->to, 1);
-+      if (option (OPTKEEPTO)) {
-+        rfc822_append (&out->to, in->to, 1);
-+      } else {
-+        rfc822_append (&out->cc, in->to, 1);
-+      }
-       rfc822_append (&out->cc, in->cc, 1);
-     }
-   }
+       /* if (!mutt_addr_is_user(in->to)) */
+-      if (flags & SENDGROUPREPLY)
++      if ( (flags & SENDGROUPREPLY) || ! option(OPTKEEPTO) )
+         rfc822_append (&out->cc, in->to, 1);
+       else
+         rfc822_append (&out->to, in->to, 1);
 diff -ur mutt-1.5.23.orig/init.h mutt-1.5.23/init.h
 --- mutt-1.5.23.orig/init.h    2014-10-12 17:17:05.716118306 +0200
 +++ mutt-1.5.23/init.h 2014-10-12 17:24:08.119438749 +0200
This page took 0.030899 seconds and 4 git commands to generate.