diff options
author | Michal Sojka <sojkam1@fel.cvut.cz> | 2010-10-31 22:29:15 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-11-10 13:09:31 -0800 |
commit | b65a783195cb459a316370eb7a956b6029102f2e (patch) | |
tree | 0b5c7f3acbe97c9e6c1001cd86f884f09418d8bb /lib/notmuch.h | |
parent | 08c735c58e9cc1074d31f21b8e6042adeb8d8844 (diff) |
lib: Return added message even if it already was in the database
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r-- | lib/notmuch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index bd0880f3..61c68d65 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -238,7 +238,8 @@ notmuch_database_get_directory (notmuch_database_t *database, * notmuch database will reference the filename, and will not copy the * entire contents of the file. * - * If 'message' is not NULL, then, on successful return '*message' + * If 'message' is not NULL, then, on successful return + * (NOTMUCH_STATUS_SUCCESS or NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID) '*message' * will be initialized to a message object that can be used for things * such as adding tags to the just-added message. The user should call * notmuch_message_destroy when done with the message. On any failure |