summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/fields.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-17 02:51:31 -0400
committerKali Kaneko <kali@leap.se>2014-01-17 12:02:40 -0400
commit9ef1cd79397d811575826025b924c615e6ce2aa4 (patch)
treebfbb330f27069b0e4003e2f68a4f71c786b71d70 /src/leap/mail/imap/fields.py
parent8ebd48d923466db51b9ea5698f51d1f12867a7cb (diff)
Add a fetch_headers for mass-header fetch queries
Diffstat (limited to 'src/leap/mail/imap/fields.py')
-rw-r--r--src/leap/mail/imap/fields.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/mail/imap/fields.py b/src/leap/mail/imap/fields.py
index bc928a1..886ee63 100644
--- a/src/leap/mail/imap/fields.py
+++ b/src/leap/mail/imap/fields.py
@@ -61,6 +61,7 @@ class WithMsgFields(object):
RW_KEY = "rw"
LAST_UID_KEY = "lastuid"
RECENTFLAGS_KEY = "rct"
+ HDOCS_SET_KEY = "hdocset"
# Document Type, for indexing
TYPE_KEY = "type"
@@ -69,6 +70,7 @@ class WithMsgFields(object):
TYPE_HEADERS_VAL = "head"
TYPE_CONTENT_VAL = "cnt"
TYPE_RECENT_VAL = "rct"
+ TYPE_HDOCS_SET_VAL = "hdocset"
INBOX_VAL = "inbox"