aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/message.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-10 17:45:59 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-11-11 03:40:19 -0800
commitd422dcf0a276f2806d5563fbdc48fa7d69e4c3eb (patch)
tree233251d05b36a11309579bbc3f955f0cb470c9b6 /lib/message.cc
parentbb74e9dff80e64734308d5997c756fd96d041235 (diff)
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.
Diffstat (limited to 'lib/message.cc')
-rw-r--r--lib/message.cc3
1 files changed, 0 insertions, 3 deletions
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;
}