summaryrefslogtreecommitdiff
path: root/mail/src/leap
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2016-02-02 18:10:26 +0100
committerKali Kaneko <kali@leap.se>2016-02-28 14:49:00 -0400
commit5b1bea0c8813206a7f17119c1c82eafc8e727bbb (patch)
tree032b825940db6446af4aa9c597fcd2458db8673b /mail/src/leap
parent9e15deaee705fcc5f01f10c63c695595e937d3b1 (diff)
[bug] Use the right succeed function for passthrough encrypted email
- Resolves #7861
Diffstat (limited to 'mail/src/leap')
-rw-r--r--mail/src/leap/mail/outgoing/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/outgoing/service.py b/mail/src/leap/mail/outgoing/service.py
index 8d7c0f8..8e06bd4 100644
--- a/mail/src/leap/mail/outgoing/service.py
+++ b/mail/src/leap/mail/outgoing/service.py
@@ -254,7 +254,7 @@ class OutgoingMail(object):
origmsg = Parser().parsestr(raw)
if origmsg.get_content_type() == 'multipart/encrypted':
- return defer.success((origmsg, recipient))
+ return defer.succeed((origmsg, recipient))
from_address = validate_address(self._from_address)
username, domain = from_address.split('@')