From d422dcf0a276f2806d5563fbdc48fa7d69e4c3eb Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 10 Nov 2010 17:45:59 -0800 Subject: lib: Remove the notion of TAGS_INVALID This rather ugly hack was recently obviated by the removal of the notmuch_database_set_maildir_sync function. Now, clients must make explicit calls to do any syncrhonization between maildir flags and tags. So the library no longer needs to worry about doing inconsistent synchronization while a message is only partially added. --- lib/message.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/message.cc') diff --git a/lib/message.cc b/lib/message.cc index 88f7c362..bc9cd259 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -882,9 +882,6 @@ notmuch_message_maildir_flags_to_tags (notmuch_message_t *message) } status = notmuch_message_thaw (message); - /* From now on, we can synchronize the tags from the database to - * the mailstore. */ - notmuch_message_set_flag (message, NOTMUCH_MESSAGE_FLAG_TAGS_INVALID, FALSE); return status; } -- cgit v1.2.3