]> git.notmuchmail.org Git - notmuch/commit
lib: Treat messages in new/ as maildir messages with no flags set
authorAustin Clements <amdragon@MIT.EDU>
Sat, 9 Jun 2012 19:14:17 +0000 (15:14 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 10 Jun 2012 23:14:56 +0000 (20:14 -0300)
commitb88030bda6da084ef74e41f588589fd98e773ad7
tree07a74d6cf572df09d63f24f50c87d804eeb3c1a3
parent750231bae8a0bdb3273c2f9a74da14327fbc5d52
lib: Treat messages in new/ as maildir messages with no flags set

Previously, notmuch new only synchronized maildir flags to tags for
files with a maildir "info" part.  Since messages in new/ don't have
an info part, notmuch would ignore them for flag-to-tag
synchronization.

This patch makes notmuch consider messages in new/ to be legitimate
maildir messages that simply have no maildir flags set.  The most
visible effect of this is that such messages now automatically get the
unread tag.
lib/message.cc
test/maildir-sync