]> granicus.if.org Git - neomutt/commitdiff
Add SENDER to default list of IMAP headers
authorKevin McCarthy <kevin@8t8.us>
Thu, 29 Nov 2018 20:36:08 +0000 (12:36 -0800)
committerRichard Russon <rich@flatcap.org>
Mon, 10 Dec 2018 14:04:42 +0000 (14:04 +0000)
This header is matched by the ~e and ~L patterns.  Those patterns
should work without the user having to know to add Sender to the list
of $imap_headers.  This was probably just an oversight.

imap/message.c

index 93ed4c8a7beb0bc5aa3226f1490d9a97212570d7..95429577aa9c5615a8a6240a448693ef69a0c78b 100644 (file)
@@ -1009,7 +1009,7 @@ static int read_headers_fetch_new(struct ImapAccountData *adata, unsigned int ms
   FILE *fp = NULL;
   struct ImapHeader h;
   static const char *const want_headers =
-      "DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE "
+      "DATE FROM SENDER SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE "
       "CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL "
       "X-ORIGINAL-TO";