From 7b619614040ada4445d8bf92d77f4e05d6325669 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 6 Feb 2017 23:29:05 +0100 Subject: [style] remove unused signaling new mail method --- src/leap/bitmask/mail/incoming/service.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/leap/bitmask/mail') diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py index ac7a5d18..471e842f 100644 --- a/src/leap/bitmask/mail/incoming/service.py +++ b/src/leap/bitmask/mail/incoming/service.py @@ -261,13 +261,6 @@ class IncomingMail(Service): str(num_mails), str(fetched_ts)) return doclist - def _signal_unread_to_ui(self, *args): - """ - Sends unread event to ui. - """ - emit_async(catalog.MAIL_UNREAD_MESSAGES, self._userid, - str(self._inbox_collection.count_unseen())) - def _process_incoming_mail(self, doclist): """ Iterates through the doclist, checks if each doc -- cgit v1.2.3