Create an index for MAIL:account_id. If you using POP3 update to this revision! POP3 queries for this attribute and if no mails are found with this id it will delete the missing mails on the server (if the option is ticked).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f2df488aec
commit
a1f765fb1a
@ -38,7 +38,7 @@ makeIndices()
|
||||
B_MAIL_ATTR_CC, B_MAIL_ATTR_FROM, B_MAIL_ATTR_NAME,
|
||||
B_MAIL_ATTR_PRIORITY, B_MAIL_ATTR_REPLY, B_MAIL_ATTR_STATUS,
|
||||
B_MAIL_ATTR_SUBJECT, B_MAIL_ATTR_TO, B_MAIL_ATTR_THREAD,
|
||||
NULL
|
||||
B_MAIL_ATTR_ACCOUNT, NULL
|
||||
};
|
||||
|
||||
// add mail indices for all devices capable of querying
|
||||
@ -57,7 +57,7 @@ makeIndices()
|
||||
fs_create_index(device, "MAIL:draft", B_INT32_TYPE, 0);
|
||||
fs_create_index(device, B_MAIL_ATTR_WHEN, B_INT32_TYPE, 0);
|
||||
fs_create_index(device, B_MAIL_ATTR_FLAGS, B_INT32_TYPE, 0);
|
||||
fs_create_index(device, B_MAIL_ATTR_ACCOUNT, B_INT32_TYPE, 0);
|
||||
fs_create_index(device, B_MAIL_ATTR_ACCOUNT_ID, B_INT32_TYPE, 0);
|
||||
fs_create_index(device, B_MAIL_ATTR_READ, B_INT32_TYPE, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user