X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-show.c;h=232557d5016f3ee3f555569de8107eb0da9a615d;hb=8c29a5da096b0314c6cca8889b740b79a9a548ed;hp=481e5d540a6f2c2cff23b0e33548726da13ed891;hpb=6e6c319c260b779e6e91905f8c142ad2b82a41c9;p=notmuch diff --git a/notmuch-show.c b/notmuch-show.c index 481e5d54..232557d5 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -475,6 +475,11 @@ format_part_sigstatus_sprinter (sprinter_t *sp, GMimeSignatureList *siglist) sp->map_key (sp, "userid"); sp->string (sp, uid); } + const char *email = g_mime_certificate_get_valid_email (certificate); + if (email) { + sp->map_key (sp, "email"); + sp->string (sp, email); + } } } else if (certificate) { const char *key_id = g_mime_certificate_get_fpr16 (certificate); @@ -1225,8 +1230,7 @@ static const notmuch_show_format_t *formatters[] = { }; int -notmuch_show_command (unused (notmuch_config_t *config), notmuch_database_t *notmuch, - int argc, char *argv[]) +notmuch_show_command (notmuch_database_t *notmuch, int argc, char *argv[]) { notmuch_query_t *query; char *query_string;