aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-21 01:00:41 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-21 01:00:41 +0100
commit67bad3483fa5f83d517abbdc388571f06a92e2e8 (patch)
tree63676f55044da315d867c80d95684ca6a1a0fdc4
parent882a58de5fdfb8500ef3d75189299dadba2c96d0 (diff)
notmuch show: Don't hide a digital signature.
This was a bug that was introduced in copying the indexing code over into notmuch-show.c. When indexing, we want to ignore the signature, (it has no interesting terms). But when presenting the message, it's important to present the signature to the user. (And would be even better if we presented whether or not the signature is good.)
-rw-r--r--show-message.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/show-message.c b/show-message.c
index 38f5897a..784981b6 100644
--- a/show-message.c
+++ b/show-message.c
@@ -33,13 +33,6 @@ show_message_part (GMimeObject *part, int *part_count,
int i;
for (i = 0; i < g_mime_multipart_get_count (multipart); i++) {
- if (GMIME_IS_MULTIPART_SIGNED (multipart)) {
- /* Don't index the signature. */
- if (i == 1)
- continue;
- if (i > 1)
- fprintf (stderr, "Warning: Unexpected extra parts of multipart/signed. Continuing.\n");
- }
show_message_part (g_mime_multipart_get_part (multipart, i),
part_count, show_part);
}