]> git.notmuchmail.org Git - notmuch/blobdiff - message.cc
Add notmuch_database_set_timestamp and notmuch_database_get_timestamp
[notmuch] / message.cc
index 65e5ad78a269b6da86ef5a3b7c289871d8096712..c5a6273fdea65bd2e3a5ee41f2e57bd1b6882efc 100644 (file)
@@ -82,7 +82,8 @@ prefix_t BOOLEAN_PREFIX[] = {
     { "attachment_extension", "O" },
     { "msgid", "Q" },
     { "thread", "H" },
-    { "ref", "R" }
+    { "ref", "R" },
+    { "timestamp", "KTS" },
 };
 
 const char *
@@ -522,7 +523,7 @@ notmuch_tags_has_more (notmuch_tags_t *tags)
        return FALSE;
 
     s = *tags->iterator;
-    if (s.size () && s[0] == 'L')
+    if (! s.empty () && s[0] == 'L')
        return TRUE;
     else
        return FALSE;