Don't show BIMI hint if result is skipped
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
This commit is contained in:
parent
f0dbc29da4
commit
dccf75b238
1 changed files with 5 additions and 2 deletions
|
|
@ -275,8 +275,11 @@
|
|||
}
|
||||
|
||||
// BIMI
|
||||
if (dmarcRecord && dmarcRecord.valid && dmarcRecord.policy != "none") {
|
||||
const bimiResult = report.authentication?.bimi;
|
||||
const bimiResult = report.authentication?.bimi;
|
||||
if (
|
||||
(dmarcRecord && dmarcRecord.valid && dmarcRecord.policy != "none") &&
|
||||
(!bimiResult || bimiResult.result !== "skipped")
|
||||
) {
|
||||
const bimiRecord = report.dns_results?.bimi_record;
|
||||
if (bimiRecord?.valid) {
|
||||
segments.push({ text: ". Your domain includes " });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue