mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Allow sender to decrypt own message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user