From 41ca921938aeddce782e6f829a601d996ffe6625 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 11 Oct 2017 23:36:56 +0200 Subject: [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 --- src/leap/bitmask/mail/imap/mailbox.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py index 20b18761..de6c5484 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): -- cgit v1.2.3