Skip own DSN

pull/208/head
M66B 3 years ago
parent d3d98339d9
commit a5d804d91f

@ -4225,7 +4225,9 @@ class Core {
if (experiments && helper.isReport()) if (experiments && helper.isReport())
try { try {
MessageHelper.Report r = parts.getReport(); 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; String label = null;
if (r.isDeliveryStatus()) if (r.isDeliveryStatus())
label = (r.isDelivered() ? MessageHelper.FLAG_DELIVERED : MessageHelper.FLAG_NOT_DELIVERED); label = (r.isDelivered() ? MessageHelper.FLAG_DELIVERED : MessageHelper.FLAG_NOT_DELIVERED);

Loading…
Cancel
Save