mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Verified if SPF, DKIM and DMARC
This commit is contained in:
@@ -1522,8 +1522,13 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
ibAvatar.setTag(lookupUri);
|
||||
ibAvatar.setEnabled(lookupUri != null);
|
||||
}
|
||||
ivVerified.setVisibility(main == null || !main.isVerified() ? View.GONE : View.VISIBLE);
|
||||
ibAvatar.setVisibility(main == null || !main.hasPhoto() ? View.GONE : View.VISIBLE);
|
||||
|
||||
boolean verified = (main != null && main.isVerified() &&
|
||||
Boolean.TRUE.equals(message.spf) &&
|
||||
Boolean.TRUE.equals(message.dkim) &&
|
||||
Boolean.TRUE.equals(message.dmarc));
|
||||
ivVerified.setVisibility(verified ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
|
||||
if (distinguish_contacts) {
|
||||
|
||||
Reference in New Issue
Block a user