diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-23 18:14:53 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-03-24 14:00:12 -0400 |
commit | bbc29c8f3d018d5f13e358fa7509ff1d71b64015 (patch) | |
tree | 08f7bd01c09f7dfcf89487f6e3dad4cf67f4dddb | |
parent | 49ba2965434c6f771e7946899901c594beed8908 (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.
-rw-r--r-- | src/leap/mail/mail.py | 2 |
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): """ |