]> git.notmuchmail.org Git - notmuch/commit
Fix notmuch_message_maildir_flags_to_tags to iterate over filenames
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 08:18:35 +0000 (00:18 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 11:40:19 +0000 (03:40 -0800)
commit4b6063397ffcc13f38757e7052e3dc6649d9703c
tree9be0a0445e1ebee1eb022d8b35e1e04e8629caf5
parent1d02dd64afe245a2b5a8461feeba975e61f0c233
Fix notmuch_message_maildir_flags_to_tags to iterate over filenames

As documented, this function now iterates over all filenames for the
message, computing a logical OR of the flags set on the filenames,
then uses the final result to set tags on the message.

This change fixes 3 of the 10 maildir-sync tests that have been
failing since being added.
lib/message.cc