X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-index-message.cc;h=561cb3a47278212e19fdacd6748953eb27e2570a;hp=a0faf442dbf9ef1c04910046e3560c90df50f7a8;hb=09f765ce186e81bd9eae85910d0444000fd26277;hpb=c0da89a8e02190f172e6f53073827bbdf91d60eb diff --git a/notmuch-index-message.cc b/notmuch-index-message.cc index a0faf442..561cb3a4 100644 --- a/notmuch-index-message.cc +++ b/notmuch-index-message.cc @@ -310,7 +310,9 @@ gen_terms_body (Xapian::TermGenerator term_gen, /* Skip signatures */ /* XXX: Should only do this if "near" the end of the message. */ - if (strncmp (body_line, "-- ", 3) == 0) + if (strncmp (body_line, "-- ", 3) == 0 || + strncmp (body_line, "----------", 10) == 0 || + strncmp (body_line, "__________", 10) == 0) break; gen_terms (term_gen, "body", body_line);