diff options
| -rw-r--r-- | mail/changes/next-changelog.rst | 3 | ||||
| -rw-r--r-- | mail/src/leap/mail/outgoing/service.py | 2 | 
2 files changed, 3 insertions, 2 deletions
| diff --git a/mail/changes/next-changelog.rst b/mail/changes/next-changelog.rst index 7979246..67bf940 100644 --- a/mail/changes/next-changelog.rst +++ b/mail/changes/next-changelog.rst @@ -20,9 +20,10 @@ Features  Bugfixes  ~~~~~~~~ -- `#1235 <https://leap.se/code/issues/1235>`_: Description for the fixed stuff corresponding with issue #1235. +- `#7861 <https://leap.se/code/issues/7861>`_: Use the right succeed function for passthrough encrypted email.  - Fix the get_body logic for corner-cases in which body is None (yet-to-be synced docs, mainly). +- `#1235 <https://leap.se/code/issues/1235>`_: Description for the fixed stuff corresponding with issue #1235.  - Bugfix without related issue number.  Misc 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('@') | 
