mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Skip own DSN
This commit is contained in:
parent
d3d98339d9
commit
a5d804d91f
1 changed files with 3 additions and 1 deletions
|
@ -4225,7 +4225,9 @@ class Core {
|
|||
if (experiments && helper.isReport())
|
||||
try {
|
||||
MessageHelper.Report r = parts.getReport();
|
||||
if (r != null) {
|
||||
boolean client_id = prefs.getBoolean("client_id", true);
|
||||
String we = "dns;" + (client_id ? EmailService.getDefaultEhlo() : "example.com");
|
||||
if (r != null && !we.equals(r.reporter)) {
|
||||
String label = null;
|
||||
if (r.isDeliveryStatus())
|
||||
label = (r.isDelivered() ? MessageHelper.FLAG_DELIVERED : MessageHelper.FLAG_NOT_DELIVERED);
|
||||
|
|
Loading…
Reference in a new issue