summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/mail/imap.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-15 16:10:00 -0400
committerRuben Pollan <meskio@sindominio.net>2016-04-16 19:17:50 +0200
commit92f4b40ab48ec537aade244af3e3e4f2c17b1475 (patch)
tree917b7b3a2ce9f7d5da0fef229f77f5825da939ed /src/leap/bitmask/services/mail/imap.py
parente442eb8a3acf8e6bbddaabe7af90cf66d2c755ac (diff)
[refactor] adapt to the new Account signature
Diffstat (limited to 'src/leap/bitmask/services/mail/imap.py')
-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 54935f8c..2f000b2a 100644
--- a/src/leap/bitmask/services/mail/imap.py
+++ b/src/leap/bitmask/services/mail/imap.py
@@ -91,7 +91,7 @@ def start_incoming_mail_service(keymanager, soledad, userid):
check_period=get_mail_check_period())
return incoming_mail
- acc = Account(soledad)
+ acc = Account(soledad, userid)
d = acc.callWhenReady(lambda _: acc.get_collection_by_mailbox(INBOX_NAME))
d.addCallback(setUpIncomingMail)
d.addErrback(log.err)