diff options
author | Reto Brunner <reto@labrat.space> | 2019-12-23 12:51:58 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-27 10:20:29 -0700 |
commit | 63391b7dca09e3f2cf3c4ff903592d23fe8f56a3 (patch) | |
tree | 4d1d4f918bd1a9536991a763c945139f89b8065e /worker/notmuch/message.go | |
parent | 6794ce0d9cce89d5fab726d7bc93a77b47cea677 (diff) | |
download | aerc-63391b7dca09e3f2cf3c4ff903592d23fe8f56a3.tar.gz |
Add labels to index format (%g)
Exposes the notmuch tags accordingly, stubs it for the maildir worker.
Diffstat (limited to 'worker/notmuch/message.go')
-rw-r--r-- | worker/notmuch/message.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index c51e2e9c..ec1adb9b 100644 --- a/worker/notmuch/message.go +++ b/worker/notmuch/message.go @@ -102,6 +102,10 @@ func (m *Message) Tags() ([]string, error) { return m.db.MsgTags(m.key) } +func (m *Message) Labels() ([]string, error) { + return m.Tags() +} + func (m *Message) ModelFlags() ([]models.Flag, error) { var flags []models.Flag seen := true |