X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=database.cc;h=efc3876205b79de6469373533988af12ca6f354e;hp=2f3959fa5f6a3a28168c0738545df2b8ce97cacd;hb=45f0d7bcab72ff6b8375804d3e518f961bd9a96f;hpb=c5eea2b77ef3fb90c8ddcb953f1086ba5bb123f3 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 ();