aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/lib/parse.go')
-rw-r--r--worker/lib/parse.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/worker/lib/parse.go b/worker/lib/parse.go
index 6b33d246..7e1f36f2 100644
--- a/worker/lib/parse.go
+++ b/worker/lib/parse.go
@@ -348,11 +348,16 @@ func MessageHeaders(raw RawMessage) (*models.MessageInfo, error) {
if err != nil {
return nil, err
}
+ refs, err := h.MsgIDList("references")
+ if err != nil {
+ return nil, err
+ }
return &models.MessageInfo{
Envelope: env,
Flags: flags,
Labels: labels,
InternalDate: recDate,
+ Refs: refs,
Size: 0,
Uid: raw.UID(),
Error: parseErr,