summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-23 18:14:53 -0400
committerKali Kaneko <kali@leap.se>2016-03-24 14:00:12 -0400
commitbbc29c8f3d018d5f13e358fa7509ff1d71b64015 (patch)
tree08f7bd01c09f7dfcf89487f6e3dad4cf67f4dddb /src
parent49ba2965434c6f771e7946899901c594beed8908 (diff)
[bug] Fix unread mails notification
this one was missing after the events refactor. the bug is that client was discarding the first parameter, assuming it was the userid.
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/mail.py b/src/leap/mail/mail.py
index b9c97f6..c6e053c 100644
--- a/src/leap/mail/mail.py
+++ b/src/leap/mail/mail.py
@@ -746,7 +746,7 @@ class MessageCollection(object):
:param unseen: number of unseen messages.
:type unseen: int
"""
- emit_async(catalog.MAIL_UNREAD_MESSAGES, str(unseen))
+ emit_async(catalog.MAIL_UNREAD_MESSAGES, self.store.uuid, str(unseen))
def copy_msg(self, msg, new_mbox_uuid):
"""