summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-02-18 11:34:13 -0600
committerKali Kaneko <kali@leap.se>2015-02-19 01:05:57 -0400
commit2a3d13c9734651ed8011029665c82ecdd63cad98 (patch)
tree8331847140a3e1a431baea93f5b0df9c2f267c41
parentf605abccb3a41d32982ebbcb50ccc7ef0bc50abe (diff)
Use the collection instead of the mailbox to initalize IncomingMail
-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