Re: [PATCH 07/20] cli/show: emit new whole-message crypto status output

Subject: Re: [PATCH 07/20] cli/show: emit new whole-message crypto status output

Date: Fri, 15 Jun 2018 20:47:59 -0300

To: Daniel Kahn Gillmor, Notmuch Mail

Cc:

From: David Bremner


Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> +
> +	const _notmuch_message_crypto_t *msg_crypto = mime_node_get_message_crypto_status (node);
> +	if (msg_crypto->sig_list ||
> +	    msg_crypto->decryption_status != NOTMUCH_MESSAGE_DECRYPTED_NONE) {
> +	    sp->map_key (sp, "crypto");

I believe the new stuff needs to guarded by

if (notmuch_format_version >= 5)

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: