* mu: provide fake-msgids for messages without; this fixes the problem where e.g. draft messages

were not visible when using --include-related
This commit is contained in:
djcb
2013-04-09 21:20:25 +03:00
parent 21a216acd2
commit 3dc98724b3
4 changed files with 42 additions and 23 deletions

View File

@ -460,6 +460,7 @@ add_terms_values_attach (Xapian::Document& doc, MuMsg *msg,
(MuMsgPartForeachFunc)each_part, &pdata);
}
/* escape the body -- for now, only replace '-' with '_' */
static void
body_escape_in_place (char *body)
@ -559,7 +560,6 @@ add_terms_values (MuMsgFieldId mfid, MsgDoc* msgdoc)
case MU_MSG_FIELD_ID_MIME:
case MU_MSG_FIELD_ID_EMBEDDED_TEXT:
break;
///////////////////////////////////////////
case MU_MSG_FIELD_ID_THREAD_ID:
case MU_MSG_FIELD_ID_UID: