summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/mail/incoming/service.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py
index 9b8bc3f..3cec66e 100644
--- a/src/leap/bitmask/mail/incoming/service.py
+++ b/src/leap/bitmask/mail/incoming/service.py
@@ -470,7 +470,6 @@ class IncomingMail(Service):
else:
d = self._maybe_decrypt_inline_encrypted_msg(
msg, encoding, senderAddress)
- d.addErrback(self._errback)
return d
def _add_verified_signature_header(self, decrmsg, fingerprint):
@@ -536,7 +535,7 @@ class IncomingMail(Service):
d = self._keymanager.decrypt(
encdata, self._userid, verify=senderAddress)
d.addCallbacks(build_msg, self._decryption_error, errbackArgs=(msg,))
- d.addCallbacks(verify_signature_after_decrypt_an_email, self._errback)
+ d.addCallback(verify_signature_after_decrypt_an_email)
return d
def _maybe_decrypt_inline_encrypted_msg(self, origmsg, encoding,