diff options
author | drebs <drebs@riseup.net> | 2017-02-25 08:59:19 -0300 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-02-27 20:55:07 +0100 |
commit | e266869facbfc1097e7e25a536e1b2dfa454583e (patch) | |
tree | 5ef8e0245d9f227f14132861b587f2c0f811c8f1 /src/leap/bitmask/core | |
parent | 06e8b6f6b0b758866c053762be4716d7050c1943 (diff) |
[refactor] access soledad client offline state directly
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 2 |
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() |