diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-01-13 14:28:21 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-01-13 14:28:21 -0300 |
commit | 7a66627816733c207e8a8c16b769870079b23772 (patch) | |
tree | 6650583e59baf09ceca794ecc6ba080d6c7aaa62 /src/leap/mail/imap/fields.py | |
parent | 2d77a64c7cf3e70070e25af4ef75af7de7a3a5b1 (diff) | |
parent | 51eaab77deedf0c923fe40cf3d346fa879bf2ae3 (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/4949_check_fdoc_uniqueness' into develop
Diffstat (limited to 'src/leap/mail/imap/fields.py')
-rw-r--r-- | src/leap/mail/imap/fields.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/mail/imap/fields.py b/src/leap/mail/imap/fields.py index 2545adf..70af61f 100644 --- a/src/leap/mail/imap/fields.py +++ b/src/leap/mail/imap/fields.py @@ -99,6 +99,7 @@ class WithMsgFields(object): TYPE_MBOX_SEEN_IDX = 'by-type-and-mbox-and-seen' TYPE_MBOX_RECT_IDX = 'by-type-and-mbox-and-recent' TYPE_MBOX_DEL_IDX = 'by-type-and-mbox-and-deleted' + TYPE_MBOX_C_HASH_IDX = 'by-type-and-mbox-and-contenthash' TYPE_C_HASH_IDX = 'by-type-and-contenthash' TYPE_C_HASH_PART_IDX = 'by-type-and-contenthash-and-partnumber' TYPE_P_HASH_IDX = 'by-type-and-payloadhash' @@ -121,6 +122,9 @@ class WithMsgFields(object): # mailboxes TYPE_SUBS_IDX: [KTYPE, 'bool(subscribed)'], + # fdocs uniqueness + TYPE_MBOX_C_HASH_IDX: [KTYPE, MBOX_VAL, CHASH_VAL], + # content, headers doc TYPE_C_HASH_IDX: [KTYPE, CHASH_VAL], |