diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-05-14 18:12:39 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-08-11 18:21:07 -0700 |
commit | 9079c2a88fa1cbd4a61d223ce5cc8f0d84c855f8 (patch) | |
tree | f4fe7ed05c4401e3bda0c91219052f31764aaf56 /init.h | |
parent | b13a4ba69ed4a704cb2d387d91ef011873bf2a46 (diff) |
Add basic CONDSTORE support when fetching initial messages.
Store MODSEQ in the header cache, and use that to perform a "FETCH
CHANGEDSINCE" for header updates when initially downloading messages.
Further improvements could be made to add support when syncing.
Handling MODSEQ for FLAG updates while the mailbox is open would be
complicated by the fact that Mutt supports locally modified headers,
so we couldn't accept the new (or subsequent) MODSEQ.
However, this initial step may at least provide some benefit when
opening the mailbox, which is generally the most time and data
intensive.
Diffstat (limited to 'init.h')
-rw-r--r-- | init.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1265,6 +1265,14 @@ struct option_t MuttVars[] = { ** it polls for new mail just as if you had issued individual ``$mailboxes'' ** commands. */ + { "imap_condstore", DT_BOOL, R_NONE, OPTIMAPCONDSTORE, 0 }, + /* + ** .pp + ** + ** When \fIset\fP, mutt will use the CONDSTORE extension (RFC 7162) + ** if advertised by the server. Mutt's current implementation is basic, + ** used only for initial message fetching and flag updates. + */ { "imap_delim_chars", DT_STR, R_NONE, UL &ImapDelimChars, UL "/." }, /* ** .pp |