mirror of https://github.com/M66B/FairEmail.git
Recognize infra not client
This commit is contained in:
parent
f12c02df19
commit
2db90c3c31
|
@ -2002,9 +2002,9 @@ public class MessageHelper {
|
|||
if (!TextUtils.isEmpty(icloud))
|
||||
return "icloud";
|
||||
|
||||
String zoho = imessage.getHeader("X-ZohoMailClient", null);
|
||||
if (!TextUtils.isEmpty(zoho))
|
||||
return "zoho";
|
||||
//String zoho = imessage.getHeader("X-ZohoMailClient", null);
|
||||
//if (!TextUtils.isEmpty(zoho))
|
||||
// return "zoho";
|
||||
|
||||
String icontact = imessage.getHeader("X-SFMC-Stack", null);
|
||||
if (!TextUtils.isEmpty(icontact))
|
||||
|
@ -2016,12 +2016,12 @@ public class MessageHelper {
|
|||
|
||||
String xmailer = imessage.getHeader("X-Mailer", null);
|
||||
if (!TextUtils.isEmpty(xmailer)) {
|
||||
if (xmailer.contains("iPhone Mail"))
|
||||
return "icloud";
|
||||
//if (xmailer.contains("iPhone Mail"))
|
||||
// return "icloud";
|
||||
if (xmailer.contains("PHPMailer"))
|
||||
return "phpmailer";
|
||||
if (xmailer.contains("Zoho Mail"))
|
||||
return "zoho";
|
||||
//if (xmailer.contains("Zoho Mail"))
|
||||
// return "zoho";
|
||||
}
|
||||
|
||||
String return_path = imessage.getHeader("Return-Path", null);
|
||||
|
|
|
@ -1129,6 +1129,7 @@
|
|||
android:layout_height="24dp"
|
||||
android:contentDescription="@string/infra_zoho"
|
||||
android:tooltipText="@string/infra_zoho"
|
||||
android:visibility="gone"
|
||||
app:srcCompat="@drawable/infra_zoho"
|
||||
tools:ignore="MissingConstraints" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue