summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/mail_services.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/core/mail_services.py')
-rw-r--r--src/leap/bitmask/core/mail_services.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py
index 7d5d9533..c0876075 100644
--- a/src/leap/bitmask/core/mail_services.py
+++ b/src/leap/bitmask/core/mail_services.py
@@ -120,16 +120,11 @@ class SoledadContainer(Container):
local_db_path=local_db_path,
server_url=server_url,
cert_file=cert_file,
- auth_token=token,
- offline=True)
+ auth_token=token)
def set_remote_auth_token(self, userid, token):
self.get_instance(userid).token = token
- def set_offline(self, userid, state):
- # TODO should check that there's a token!
- self.get_instance(userid).offline = bool(state)
-
def sync(self, userid):
self.get_instance(userid).sync()
@@ -201,7 +196,6 @@ class SoledadService(HookableService):
if container.get_instance(userid):
logger.debug("passing a new SRP Token to Soledad: %s" % userid)
container.set_remote_auth_token(userid, token)
- container.set_offline(userid, False)
else:
logger.debug("adding a new Soledad Instance: %s" % userid)
container.add_instance(