summaryrefslogtreecommitdiff
path: root/mail/src
diff options
context:
space:
mode:
Diffstat (limited to 'mail/src')
-rw-r--r--mail/src/leap/mail/mail.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/src/leap/mail/mail.py b/mail/src/leap/mail/mail.py
index 4a73186..1a60c6d 100644
--- a/mail/src/leap/mail/mail.py
+++ b/mail/src/leap/mail/mail.py
@@ -654,9 +654,10 @@ class MessageCollection(object):
def removeListener(self, listener):
self._listeners.remove(listener)
- def notify_new_to_listeners(self, *args):
+ def notify_new_to_listeners(self, result):
for listener in self._listeners:
listener.notify_new()
+ return result
def cb_signal_unread_to_ui(self, result):
"""