aboutsummaryrefslogtreecommitdiff
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-05-26 18:15:58 -0400
committerDavid Bremner <david@tethera.net>2019-05-29 08:05:01 -0300
commit1c7fbbcc99693c0433f7b06b569ce90c19ac5e1b (patch)
tree23fa9bd1bdb6fd4839fc111861f50e5abc586738 /notmuch-reply.c
parent528f526f6970499575712fd1db6610d773a0b80e (diff)
cli/show: emit payload subject instead of outside subject
Correctly fix the two outstanding tests so that the protected (hidden) subject is properly reported. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 7f284229..2689b247 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -663,7 +663,9 @@ static int do_reply(notmuch_config_t *config,
/* The headers of the reply message we've created */
sp->map_key (sp, "reply-headers");
- format_headers_sprinter (sp, reply, true);
+ /* FIXME: send msg_crypto here to avoid killing the
+ * subject line on reply to encrypted messages! */
+ format_headers_sprinter (sp, reply, true, NULL);
/* Start the original */
sp->map_key (sp, "original");