]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
lib: catch error from closed db in n_m_get_message_id
[notmuch] / lib / notmuch.h
index ceb5a018e96dae31c3b55f5b366f1f6bf3ccf8e4..0dc89547017a6e5362333e167b0105c9e16c7421 100644 (file)
@@ -1363,9 +1363,8 @@ notmuch_message_get_database (const notmuch_message_t *message);
  * message is valid, (which is until the query from which it derived
  * is destroyed).
  *
- * This function will not return NULL since Notmuch ensures that every
- * message has a unique message ID, (Notmuch will generate an ID for a
- * message if the original file does not contain one).
+ * This function will return NULL if triggers an unhandled Xapian
+ * exception.
  */
 const char *
 notmuch_message_get_message_id (notmuch_message_t *message);