aboutsummaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorYash Srivastav <yash111998@gmail.com>2019-06-07 13:56:14 +0530
committerDrew DeVault <sir@cmpwn.com>2019-06-07 09:20:24 -0400
commitb83e7c9fa6a0d187a0f20d98d522cff792053cdd (patch)
tree4c3765b41d216e26406d21d3b045f340edabbadc /worker/types/messages.go
parent2279ac3ab3d19cd233600907bc8e3e8b4e57b350 (diff)
implements ability to view headers in message view
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 4e46cbf..29d3d9f 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -5,6 +5,7 @@ import (
"time"
"github.com/emersion/go-imap"
+ "github.com/emersion/go-message/mail"
"git.sr.ht/~sircmpwn/aerc/config"
)
@@ -145,6 +146,7 @@ type MessageInfo struct {
Envelope *imap.Envelope
Flags []string
InternalDate time.Time
+ RFC822Headers *mail.Header
Size uint32
Uid uint32
}