* lib/: a the thread-id field, store it in the database

This commit is contained in:
djcb
2012-12-25 16:43:34 +02:00
parent 58f5e39d34
commit a625371da2
5 changed files with 64 additions and 58 deletions

View File

@ -103,7 +103,7 @@ static const MuMsgField FIELD_DATA[] = {
{
MU_MSG_FIELD_ID_BODY_HTML,
MU_MSG_FIELD_TYPE_STRING,
"bodyhtml", 'h', 0,
"bodyhtml", 0, 0,
FLAG_GMIME | FLAG_DONT_CACHE
},
@ -236,6 +236,14 @@ static const MuMsgField FIELD_DATA[] = {
FLAG_GMIME | FLAG_XAPIAN_TERM | FLAG_XAPIAN_ESCAPE
},
{ /* remember which thread this message is in */
MU_MSG_FIELD_ID_THREAD_ID,
MU_MSG_FIELD_TYPE_STRING,
"thread", 0, 'W',
FLAG_XAPIAN_TERM
},
{
MU_MSG_FIELD_ID_TO,
MU_MSG_FIELD_TYPE_STRING,