mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 16:33:47 +00:00
Allow sender to decrypt own message
This commit is contained in:
parent
6b7510ad36
commit
77e32ce5ca
1 changed files with 1 additions and 0 deletions
|
@ -2023,6 +2023,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
addresses.addAll(Arrays.asList(draft.bcc));
|
||||
|
||||
List<X509Certificate> certs = new ArrayList<>();
|
||||
certs.add(chain[0]); // Allow sender to decrypt own message
|
||||
for (Address address : addresses) {
|
||||
String email = ((InternetAddress) address).getAddress();
|
||||
List<EntityCertificate> e = db.certificate().getCertificateByEmail(email);
|
||||
|
|
Loading…
Reference in a new issue