From: Thomas Roessler Date: Sun, 28 May 2000 20:32:05 +0000 (+0000) Subject: Don't bother the user with messages about PGP signature verification X-Git-Tag: mutt-1-3-3-rel~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=581c1b9bf05b4e6cd0c7c5ad087c79c3fcac7014;p=mutt Don't bother the user with messages about PGP signature verification when there is no PGP stuff about the message. --- diff --git a/commands.c b/commands.c index 35ee03d1..d32e4647 100644 --- a/commands.c +++ b/commands.c @@ -143,9 +143,10 @@ int mutt_display_message (HEADER *cur) pager_t info; #ifdef HAVE_PGP - mutt_message ((cur->pgp & PGPGOODSIGN) ? - _("PGP signature successfully verified.") : - _("PGP signature could NOT be verified.")); + if (cur->pgp) + mutt_message ((cur->pgp & PGPGOODSIGN) ? + _("PGP signature successfully verified.") : + _("PGP signature could NOT be verified.")); #endif /* Invoke the builtin pager */