summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/mail/imapcontroller.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-05-14 12:25:00 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-05-21 15:09:27 -0300
commit3a81b31204680bf2ba0abe26467aef201cf030fa (patch)
tree7648cfc368d07fd97080eee12db1541f4e833cfc /src/leap/bitmask/services/mail/imapcontroller.py
parent2f57c31cda8208340322efd5c02f8b9120ce29aa (diff)
Move Mail logic to backend.
Diffstat (limited to 'src/leap/bitmask/services/mail/imapcontroller.py')
-rw-r--r--src/leap/bitmask/services/mail/imapcontroller.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/mail/imapcontroller.py b/src/leap/bitmask/services/mail/imapcontroller.py
index efca5867..d0bf4c34 100644
--- a/src/leap/bitmask/services/mail/imapcontroller.py
+++ b/src/leap/bitmask/services/mail/imapcontroller.py
@@ -50,6 +50,11 @@ class IMAPController(object):
def start_imap_service(self, userid, offline=False):
"""
Start IMAP service.
+
+ :param userid: user id, in the form "user@provider"
+ :type userid: str
+ :param offline: whether imap should start in offline mode or not.
+ :type offline: bool
"""
logger.debug('Starting imap service')