]> granicus.if.org Git - mutt/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)
committerKevin McCarthy <kevin@8t8.us>
Thu, 29 Nov 2018 20:36:08 +0000 (12:36 -0800)
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 3e400dc2ec9b2a4914d701f18830b366224e751e..faf2c1467e9ae68423df177f31887d97962d0433 100644 (file)
@@ -687,7 +687,7 @@ static int read_headers_fetch_new (IMAP_DATA *idata, unsigned int msn_begin,
   FILE *fp = NULL;
   IMAP_HEADER h;
   BUFFER *b;
-  static const char * const want_headers = "DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL";
+  static const char * const want_headers = "DATE FROM SENDER SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL";
 
   ctx = idata->ctx;
   idx = ctx->msgcount;