summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/services/mail/imap.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/leap/bitmask/services/mail/imap.py b/src/leap/bitmask/services/mail/imap.py
index da753a0b..30646a63 100644
--- a/src/leap/bitmask/services/mail/imap.py
+++ b/src/leap/bitmask/services/mail/imap.py
@@ -93,11 +93,6 @@ def start_incoming_mail_service(keymanager, soledad, imap_factory, userid):
# the account, and passing the mailbox to the incoming service.
# In an even better world, we just would subscribe to a channel that would
# pass us the serialized object to be inserted.
- # XXX: I think we might be at risk here because the account top object
- # currently just returns as many mailbox objects as it's asked for, so
- # we should be careful about concurrent operations (ie, maybe just use
- # this one to do inserts, or let account have an in-memory map of
- # mailboxes, and just return references to them).
acc = imap_factory.theAccount
d = acc.callWhenReady(lambda _: acc.getMailbox(INBOX_NAME))
d.addCallback(setUpIncomingMail)