summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/core/mail_services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py
index 17e5d09..4e67ac4 100644
--- a/src/leap/bitmask/core/mail_services.py
+++ b/src/leap/bitmask/core/mail_services.py
@@ -127,7 +127,7 @@ class SoledadContainer(Container):
def set_offline(self, userid, state):
# TODO should check that there's a token!
- self.get_instance(userid).set_offline(bool(state))
+ self.get_instance(userid).offline = bool(state)
def sync(self, userid):
self.get_instance(userid).sync()