summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/account.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-02-06 18:11:20 -0400
committerKali Kaneko <kali@leap.se>2014-02-17 11:37:04 -0400
commitee0786c57d72aa8b8da76533f33c3dd65253a878 (patch)
tree258b23cf7d4368ea36f3bcd7caedcd3f4b188198 /src/leap/mail/imap/account.py
parenta5c45803dfdc62f22db592d1e542fcbd07170a43 (diff)
long-due update to unittests!
So we're safe under the green lights before further rewriting. :)
Diffstat (limited to 'src/leap/mail/imap/account.py')
-rw-r--r--src/leap/mail/imap/account.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/mail/imap/account.py b/src/leap/mail/imap/account.py
index f985c04..04af3b1 100644
--- a/src/leap/mail/imap/account.py
+++ b/src/leap/mail/imap/account.py
@@ -36,6 +36,10 @@ from leap.soledad.client import Soledad
#######################################
+# TODO change name to LeapIMAPAccount, since we're using
+# the memstore.
+# IndexedDB should also not be here anymore.
+
class SoledadBackedAccount(WithMsgFields, IndexedDB, MBoxParser):
"""
An implementation of IAccount and INamespacePresenteer
@@ -67,6 +71,8 @@ class SoledadBackedAccount(WithMsgFields, IndexedDB, MBoxParser):
# XXX SHOULD assert too that the name matches the user/uuid with which
# soledad has been initialized.
+ # XXX ??? why is this parsing mailbox name??? it's account...
+ # userid? homogenize.
self._account_name = self._parse_mailbox_name(account_name)
self._soledad = soledad
self._memstore = memstore