aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch')
-rw-r--r--worker/notmuch/message.go4
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