diff options
author | Kali Kaneko <kali@leap.se> | 2014-01-16 22:01:20 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-01-17 03:09:57 -0400 |
commit | 9f9701d42be385aa9a6d7e72fd10104b0025971b (patch) | |
tree | c32f67f225761fe7a4016b6b0d44f49aa3248a99 /src/leap/mail/imap/fields.py | |
parent | e3692d50ca2fa4110ba37322b1f46d71d93ac135 (diff) |
Separate RECENT Flag to a mailbox document.
this way we avoid a bunch of writes.
Diffstat (limited to 'src/leap/mail/imap/fields.py')
-rw-r--r-- | src/leap/mail/imap/fields.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/mail/imap/fields.py b/src/leap/mail/imap/fields.py index 3d2ac92..bc928a1 100644 --- a/src/leap/mail/imap/fields.py +++ b/src/leap/mail/imap/fields.py @@ -60,6 +60,7 @@ class WithMsgFields(object): SUBSCRIBED_KEY = "subscribed" RW_KEY = "rw" LAST_UID_KEY = "lastuid" + RECENTFLAGS_KEY = "rct" # Document Type, for indexing TYPE_KEY = "type" @@ -67,6 +68,7 @@ class WithMsgFields(object): TYPE_FLAGS_VAL = "flags" TYPE_HEADERS_VAL = "head" TYPE_CONTENT_VAL = "cnt" + TYPE_RECENT_VAL = "rct" INBOX_VAL = "inbox" |