summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/mail.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/mail/mail.py b/src/leap/mail/mail.py
index 4a73186..1a60c6d 100644
--- a/src/leap/mail/mail.py
+++ b/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):
"""