diff options
author | Kali Kaneko <kali@leap.se> | 2017-10-11 23:36:56 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-10-11 23:38:29 +0200 |
commit | 41ca921938aeddce782e6f829a601d996ffe6625 (patch) | |
tree | b70c82add50eeb7cea94256d52f6e0b2938ca0bd /src/leap | |
parent | 7ded13dafb6a29dcbbbabc32008685db49d42f77 (diff) |
[bug] fix incorrect imap flags for mailboxes
for some reason the implementation was returning a list of default flags
for every mailbox, that's incorrect according to the spec.
we have the plan to implement special mailboxes soon, but for now I'm
merging this as it's needed to get nylas prototype working.
- Resolves: #9031
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/mail/imap/mailbox.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py index 20b1876..de6c548 100644 --- a/src/leap/bitmask/mail/imap/mailbox.py +++ b/src/leap/bitmask/mail/imap/mailbox.py @@ -44,10 +44,7 @@ from leap.bitmask.mail.imap.messages import IMAPMessage # [ ] implement the rest of ISearchableMailbox -INIT_FLAGS = (MessageFlags.SEEN_FLAG, MessageFlags.ANSWERED_FLAG, - MessageFlags.FLAGGED_FLAG, MessageFlags.DELETED_FLAG, - MessageFlags.DRAFT_FLAG, MessageFlags.RECENT_FLAG, - MessageFlags.LIST_FLAG) +INIT_FLAGS = (MessageFlags.RECENT_FLAG, MessageFlags.LIST_FLAG) def make_collection_listener(mailbox): |