From 63391b7dca09e3f2cf3c4ff903592d23fe8f56a3 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Mon, 23 Dec 2019 12:51:58 +0100 Subject: Add labels to index format (%g) Exposes the notmuch tags accordingly, stubs it for the maildir worker. --- lib/format/format.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/format') diff --git a/lib/format/format.go b/lib/format/format.go index 0cb9693..b66a180 100644 --- a/lib/format/format.go +++ b/lib/format/format.go @@ -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) -- cgit 1.4.1-2-gfad0 value='953e3cc1204cde0f59c0d1230694b5ad5682c698'>this commit Profanity fork with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_connect.h
blob: d82d93640fe7becec9b130d50fcd75a367a01505 (plain) (blame)
1
2
3
4
5