diff options
author | Rocco Rutte <pdmef@gmx.net> | 2009-04-26 20:44:15 +0200 |
---|---|---|
committer | Rocco Rutte <pdmef@gmx.net> | 2009-04-26 20:44:15 +0200 |
commit | e0c461eb594063fb99a1649807d3c6173db93735 (patch) | |
tree | 9662bfc52e3fc682f7a081bb7b6a4c6d6e1ec94a /imap/imap.c | |
parent | d39d9c0cff9057c13ea28c7b21df62c16d2151b8 (diff) |
Sync header to hcache when synching MH/Maildir/IMAP folders. Closes #2942.
Diffstat (limited to 'imap/imap.c')
-rw-r--r-- | imap/imap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/imap/imap.c b/imap/imap.c index f7a207a9..970c0c89 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -1208,6 +1208,10 @@ int imap_sync_mailbox (CONTEXT* ctx, int expunge, int* index_hint) { h = ctx->hdrs[n]; +#if USE_HCACHE + imap_hcache_put (idata, h); +#endif + if (h->deleted) { imap_cache_del (idata, h); |