summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2015-07-02 23:37:37 -0400
committerRuben Pollan <meskio@sindominio.net>2015-07-02 23:37:37 -0400
commit1525d66223187cc54e91a5b3c55bf7ae4e8b471e (patch)
treed403614edce3115fb157ed550a29341aed154813
parentb00bdbf262f1485c83e6757764f7b8dcc27a64be (diff)
[bug] return the message uid after add it to the collection
MessageCollection.add_msg was not returning the uid of the message added making the incoming service not deleting the emails from the incoming queue. * Related: #7158
-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):
"""