diff options
author | Ruben Pollan <meskio@sindominio.net> | 2016-02-02 18:10:26 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-02-28 14:49:00 -0400 |
commit | b962e9bc7973f3a826dccfa9aa417b0139b94104 (patch) | |
tree | 19eefb4e9bd1943edd12c1bec03b3f49aef876dc /src/leap/mail/outgoing/service.py | |
parent | f2fa5804879f6d7614d05537b042be3586958e7f (diff) |
[bug] Use the right succeed function for passthrough encrypted email
- Resolves #7861
Diffstat (limited to 'src/leap/mail/outgoing/service.py')
-rw-r--r-- | src/leap/mail/outgoing/service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/outgoing/service.py b/src/leap/mail/outgoing/service.py index 8d7c0f8..8e06bd4 100644 --- a/src/leap/mail/outgoing/service.py +++ b/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('@') |