summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-06-13 19:56:20 +0200
committerRuben Pollan <meskio@sindominio.net>2017-06-15 01:09:41 +0200
commite73deeaac801b19d3f61e26f7610131962fba667 (patch)
tree9399f13e5457e2e1a7c0f29bd4779455d58eb925 /src
parent13e6381c849ec0e05515c55a7e73bdc0ff7e5c42 (diff)
[bug] fix unread count on mail status
- Resolves: #8931
Diffstat (limited to 'src')
-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 d1ccdb9..a023827 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)