aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-12-23 12:51:58 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-27 10:20:29 -0700
commit63391b7dca09e3f2cf3c4ff903592d23fe8f56a3 (patch)
tree4d1d4f918bd1a9536991a763c945139f89b8065e /models
parent6794ce0d9cce89d5fab726d7bc93a77b47cea677 (diff)
Add labels to index format (%g)
Exposes the notmuch tags accordingly, stubs it for the maildir worker.
Diffstat (limited to 'models')
-rw-r--r--models/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 28d256c..fa3baf2 100644
--- a/models/models.go
+++ b/models/models.go
@@ -57,6 +57,7 @@ type MessageInfo struct {
BodyStructure *BodyStructure
Envelope *Envelope
Flags []Flag
+ Labels []string
InternalDate time.Time
RFC822Headers *mail.Header
Size uint32