diff options
author | Yash Srivastav <yash111998@gmail.com> | 2019-06-07 13:56:14 +0530 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-07 09:20:24 -0400 |
commit | b83e7c9fa6a0d187a0f20d98d522cff792053cdd (patch) | |
tree | 4c3765b41d216e26406d21d3b045f340edabbadc /worker/types | |
parent | 2279ac3ab3d19cd233600907bc8e3e8b4e57b350 (diff) | |
download | aerc-b83e7c9fa6a0d187a0f20d98d522cff792053cdd.tar.gz |
implements ability to view headers in message view
Diffstat (limited to 'worker/types')
-rw-r--r-- | worker/types/messages.go | 2 |
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 } |