diff options
| author | David Bremner <david@tethera.net> | 2022-01-18 21:26:45 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-18 21:26:45 -0400 |
| commit | 87d5a5a8aa323077c0b79fce42d062839eb2ff2d (patch) | |
| tree | 15f2e953a17bc858c54684b6e8b9462dc2310130 /notmuch-show.c | |
| parent | 2d036dbc3b6e48b12ab3e8aa0cbe713d2ef96854 (diff) | |
CLI: print extra headers only for non-replies
If in the future we decide to output extra headers for replies, this
should be controlled by a separate configuration option.
Diffstat (limited to 'notmuch-show.c')
| -rw-r--r-- | notmuch-show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index 136f4439..6a54d9c1 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -294,7 +294,8 @@ format_headers_sprinter (sprinter_t *sp, GMimeMessage *message, } /* Output extra headers the user has configured, if any */ - format_extra_headers_sprinter (sp, message); + if (! reply) + format_extra_headers_sprinter (sp, message); sp->end (sp); talloc_free (local); } |
