aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorGravatar Michal Nazarewicz <mina86@mina86.com>2012-09-10 08:35:30 +0200
committerGravatar David Bremner <bremner@debian.org>2012-10-22 20:06:21 -0300
commitffb629cc5d2c2d1505eb5aefcf04fb4d0af6c0c8 (patch)
treefcd314038b446653314986992c531aa9e7b512a2 /test/test-lib.sh
parent0d552ab6d0d9f7783d5f3cd0a246243c91090d49 (diff)
notmuch-show: include Bcc header in json output
With this change, emacs users can use notmuch-message-headers variable to configure notmuch-show display Bcc header.
Diffstat (limited to 'test/test-lib.sh')
-rw-r--r--test/test-lib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index 2f7d6cd1..e7638bee 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -350,6 +350,11 @@ ${additional_headers}"
${additional_headers}"
fi
+ if [ ! -z "${template[bcc]}" ]; then
+ additional_headers="Bcc: ${template[bcc]}
+${additional_headers}"
+ fi
+
if [ ! -z "${template[references]}" ]; then
additional_headers="References: ${template[references]}
${additional_headers}"