From e266869facbfc1097e7e25a536e1b2dfa454583e Mon Sep 17 00:00:00 2001 From: drebs Date: Sat, 25 Feb 2017 08:59:19 -0300 Subject: [refactor] access soledad client offline state directly --- src/leap/bitmask/core/mail_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3