]> git.cworth.org Git - notmuch/blobdiff - lib/message.cc
lib/message-property: sync removed properties to the database
[notmuch] / lib / message.cc
index 1b1a071aa56e408597fd857787ecce742874f3ad..53f35dd167fbd1075a452b7cc7e2ed45bae4c4c3 100644 (file)
@@ -719,6 +719,8 @@ _notmuch_message_remove_terms (notmuch_message_t *message, const char *prefix)
            /* Ignore failure to remove non-existent term. */
        }
     }
+
+    _notmuch_message_invalidate_metadata (message, "property");
 }