Add NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID
authorCarl Worth <cworth@cworth.org>
Fri, 23 Oct 2009 21:40:33 +0000 (14:40 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 23 Oct 2009 21:40:33 +0000 (14:40 -0700)
commitb3cbcea8fdfdc71c5021fac483943a45ace816d3
treefbdf39aa5fb88fa3b6e25543a22e48441a191426
parentedd37e68a96ada9187976dd0421b3f545fffbf78
Add NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID

And document that notmuch_database_add_message can return this
value. This pushes the hard decision of what to do with duplicate
messages out to the user, but that's OK. (We weren't really doing
anything with these ourselves, and this way the user is at least
informed of the issue, rather than it just getting papered over
internally.)
database.cc
notmuch.h