X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-index-message.cc;h=6795430b8c72aa8d8e8e34c6027c561851366a92;hp=2d0bfc28680312753018cc43bb7c628a8b7828f6;hb=653ff260f5124acfcb5d8f775038fd6cc3daa361;hpb=7c9dbbad40e4dfb2bf412c36938771a2e93a984c diff --git a/notmuch-index-message.cc b/notmuch-index-message.cc index 2d0bfc28..6795430b 100644 --- a/notmuch-index-message.cc +++ b/notmuch-index-message.cc @@ -444,6 +444,7 @@ gen_terms_part (Xapian::TermGenerator term_gen, strcmp (disposition->disposition, GMIME_DISPOSITION_ATTACHMENT) == 0) { add_term (term_gen.get_document (), "label", "attachment"); + return; } byte_array = g_byte_array_new ();