diff options
author | Reto Brunner <reto@labrat.space> | 2020-11-03 07:39:36 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-11-14 15:40:13 +0100 |
commit | 3ad3a5ede07c1248ae8176bdc19a623731c64056 (patch) | |
tree | 08a847d6f398c09f789dd0a9b587c21ada8f8c17 /models/models.go | |
parent | e7d450c61df85b16917444fc2c6ea6c11e3c5b44 (diff) | |
download | aerc-3ad3a5ede07c1248ae8176bdc19a623731c64056.tar.gz |
models: add RFC822 headers to OriginalMail
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/models/models.go b/models/models.go index bfe0ff3a..45f3b9de 100644 --- a/models/models.go +++ b/models/models.go @@ -134,8 +134,9 @@ type Envelope struct { // OriginalMail is helper struct used for reply/forward type OriginalMail struct { - Date time.Time - From string - Text string - MIMEType string + Date time.Time + From string + Text string + MIMEType string + RFC822Headers *mail.Header } |