[daemon] Parse Envelope.original_content
This commit is contained in:
parent
ffffa6a364
commit
3c1544e423
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class MailEncryptionProxy:
|
||||||
start = time.process_time()
|
start = time.process_time()
|
||||||
try:
|
try:
|
||||||
keys = await self._keyring.freeze_identities()
|
keys = await self._keyring.freeze_identities()
|
||||||
message = email.message_from_bytes(envelope.content)
|
message = email.message_from_bytes(envelope.original_content)
|
||||||
|
|
||||||
if message.defects:
|
if message.defects:
|
||||||
# Sometimes a weird message cannot be encoded back and
|
# Sometimes a weird message cannot be encoded back and
|
||||||
|
|
Loading…
Reference in a new issue