From e73deeaac801b19d3f61e26f7610131962fba667 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 13 Jun 2017 19:56:20 +0200 Subject: [bug] fix unread count on mail status - Resolves: #8931 --- src/leap/bitmask/core/mail_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/bitmask/core') diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index d1ccdb95..a0238279 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -746,7 +746,7 @@ class IncomingMailService(service.MultiService): status = self._status[userid] incoming = self.getServiceNamed(userid) - if ['status'] == 'on': + if status['status'] == 'on': status['unread'] = yield incoming.unread() defer.returnValue(status) -- cgit v1.2.3