diff options
Diffstat (limited to 'worker/imap/cache.go')
-rw-r--r-- | worker/imap/cache.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/imap/cache.go b/worker/imap/cache.go index 17a622d6..c32131d3 100644 --- a/worker/imap/cache.go +++ b/worker/imap/cache.go @@ -118,6 +118,10 @@ func (w *IMAPWorker) getCachedHeaders(msg *types.FetchMessageHeaders) []uint32 { Uid: ch.Uid, RFC822Headers: hdr, } + refs, err := hdr.MsgIDList("references") + if err != nil { + mi.Refs = refs + } logging.Debugf("located cached header %s.%s", uv, u) w.worker.PostMessage(&types.MessageInfo{ Message: types.RespondTo(msg), |