summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-02-25 08:59:19 -0300
committerKali Kaneko (leap communications) <kali@leap.se>2017-02-27 20:55:07 +0100
commite266869facbfc1097e7e25a536e1b2dfa454583e (patch)
tree5ef8e0245d9f227f14132861b587f2c0f811c8f1 /src/leap/bitmask
parent06e8b6f6b0b758866c053762be4716d7050c1943 (diff)
[refactor] access soledad client offline state directly
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 17e5d099..4e67ac45 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()