From bbc29c8f3d018d5f13e358fa7509ff1d71b64015 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 23 Mar 2016 18:14:53 -0400 Subject: [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. --- src/leap/mail/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ -- cgit v1.2.3