mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Relaxed signed by check
This commit is contained in:
@@ -2503,7 +2503,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
String domain = UriHelper.getEmailDomain(((InternetAddress) message.from[0]).getAddress());
|
||||
if (domain != null)
|
||||
for (String signer : message.signedby.split(","))
|
||||
if (signer.equals(domain)) { // TODO: root domain check?
|
||||
if (Objects.equals(
|
||||
UriHelper.getRootDomain(context, signer),
|
||||
UriHelper.getRootDomain(context, domain))) {
|
||||
known_signer = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user