Add labels to index format (%g)
Exposes the notmuch tags accordingly, stubs it for the maildir worker.
This commit is contained in:
parent
6794ce0d9c
commit
63391b7dca
7 changed files with 22 additions and 0 deletions
lib/format
|
@ -138,6 +138,10 @@ func ParseMessageFormat(
|
|||
retval = append(retval, 's')
|
||||
args = append(args, val)
|
||||
|
||||
case 'g':
|
||||
retval = append(retval, 's')
|
||||
args = append(args, strings.Join(msg.Labels, ", "))
|
||||
|
||||
case 'i':
|
||||
retval = append(retval, 's')
|
||||
args = append(args, msg.Envelope.MessageId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue