summaryrefslogtreecommitdiff
path: root/mail
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
commit1158e7638846fc2e11ce420a4f8aa721fb8c8764 (patch)
treeab66f4cfa775738c98bb0671855ca00ab733b448 /mail
parent3b701e98d82a2b67215bec5626d297caa239ca61 (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 'mail')
-rw-r--r--mail/src/leap/mail/mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/mail.py b/mail/src/leap/mail/mail.py
index b9c97f6..c6e053c 100644
--- a/mail/src/leap/mail/mail.py
+++ b/mail/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):
"""