This commit is contained in:
revsuine 2024-11-04 18:55:51 +00:00
parent 8a8125957c
commit 3338035673
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -59,7 +59,9 @@ def encrypt(
:param unconditionally_encrypt: if True, will encrypt no matter what. If
False (default), will NOT encrypt if any of the following conditions are
met:
- The message is already encrypted"""
- The message is already encrypted
:return: The encrypted email as a string"""
# some mail clients like Thunderbird don't like twice-encrypted emails,
# so we return the message as-is if it's already encrypted