diff options
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/bitmask_libraries/session.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/service/pixelated/bitmask_libraries/session.py b/service/pixelated/bitmask_libraries/session.py index 50f5e7c7..b4015e09 100644 --- a/service/pixelated/bitmask_libraries/session.py +++ b/service/pixelated/bitmask_libraries/session.py @@ -159,9 +159,8 @@ class LeapSessionFactory(object): @defer.inlineCallbacks def _create_incoming_mail_fetcher(self, nicknym, soledad_session, account, user_mail): - # FIXME Replace inbox collection by our own mailbox indexer - inbox = yield account.getMailbox('INBOX') + inbox = yield account.callWhenReady(lambda _: account.getMailbox('INBOX')) defer.returnValue(IncomingMail(nicknym.keymanager, soledad_session.soledad, - inbox, + inbox.collection, user_mail)) |