From 2a3d13c9734651ed8011029665c82ecdd63cad98 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 18 Feb 2015 11:34:13 -0600 Subject: Use the collection instead of the mailbox to initalize IncomingMail --- src/leap/bitmask/services/mail/imap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3