aboutsummaryrefslogtreecommitdiffhomepage
path: root/database.cc
diff options
context:
space:
mode:
Diffstat (limited to 'database.cc')
-rw-r--r--database.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/database.cc b/database.cc
index 5ee07059..1c1e590b 100644
--- a/database.cc
+++ b/database.cc
@@ -520,6 +520,8 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
try {
doc.set_data (filename);
+ add_term (doc, "type", "mail");
+
parents = g_ptr_array_new ();
refs = notmuch_message_file_get_header (message, "references");