diff options
Diffstat (limited to 'worker/notmuch/notmuch.go')
-rw-r--r-- | worker/notmuch/notmuch.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/notmuch/notmuch.go b/worker/notmuch/notmuch.go index 5610cac0..1d064fd2 100644 --- a/worker/notmuch/notmuch.go +++ b/worker/notmuch/notmuch.go @@ -8,17 +8,20 @@ import "git.sr.ht/~rjarry/aerc/models" var tagToFlag = map[string]models.Flags{ "unread": models.SeenFlag, "replied": models.AnsweredFlag, + "draft": models.DraftFlag, "flagged": models.FlaggedFlag, } var flagToTag = map[models.Flags]string{ models.SeenFlag: "unread", models.AnsweredFlag: "replied", + models.DraftFlag: "draft", models.FlaggedFlag: "flagged", } var flagToInvert = map[models.Flags]bool{ models.SeenFlag: true, models.AnsweredFlag: false, + models.DraftFlag: false, models.FlaggedFlag: false, } |