summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/services/mail/imap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/mail/imap.py b/src/leap/bitmask/services/mail/imap.py
index d044a600..da753a0b 100644
--- a/src/leap/bitmask/services/mail/imap.py
+++ b/src/leap/bitmask/services/mail/imap.py
@@ -83,7 +83,7 @@ def start_incoming_mail_service(keymanager, soledad, imap_factory, userid):
incoming_mail = IncomingMail(
keymanager,
soledad,
- inbox,
+ inbox.collection,
userid,
check_period=get_mail_check_period())
return incoming_mail