From 77f9d3ee0eac9f91e6d298e9e3774f4b161fa713 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 22 Oct 2009 15:34:47 -0700 Subject: [PATCH] Don't forget the "to" header when restrict parsing to certain headers We recently started discarding files as "not email" if they have none of Subject, From, nor To. Apaprently, my mail collection contains a number of messages that I sent, that are saved without Subject and From, (perhaps these were drafts?). Anyway, it's fortunate I had those since they alerted me to this bug, where we were not parsing the "To" header in some cases. --- database.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/database.cc b/database.cc index 1c0410c2..2fc783e7 100644 --- a/database.cc +++ b/database.cc @@ -514,6 +514,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch, "message-id", "references", "subject", + "to", (char *) NULL); try { -- 2.26.2