mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch-index-message: Ignore more signature patterns.
Getting more sup-compatible all the time.
This commit is contained in:
parent
c0da89a8e0
commit
09f765ce18
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue