diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-19 13:48:13 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-19 13:48:13 -0700 |
commit | 45f0d7bcab72ff6b8375804d3e518f961bd9a96f (patch) | |
tree | 78ba295306d5e0c660a15e3c20b9ac097df7fb8c /database.cc | |
parent | c5eea2b77ef3fb90c8ddcb953f1086ba5bb123f3 (diff) |
Don't hash headers we won't end up using.
Just saving a little work here.
Diffstat (limited to 'database.cc')
-rw-r--r-- | database.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/database.cc b/database.cc index 2f3959fa..efc38762 100644 --- a/database.cc +++ b/database.cc @@ -486,6 +486,13 @@ notmuch_database_add_message (notmuch_database_t *notmuch, message = notmuch_message_open (filename); + notmuch_message_restrict_headers (message, + "references", + "in-reply-to", + "message-id", + "date", + (char *) NULL); + try { doc = Xapian::Document (); |