mirror of https://github.com/M66B/FairEmail.git
Disabled via check
This commit is contained in:
parent
a312fb310b
commit
03b687b0c0
|
@ -1213,6 +1213,8 @@ class Core {
|
||||||
Uri lookupUri = ContactInfo.getLookupUri(context, message.from);
|
Uri lookupUri = ContactInfo.getLookupUri(context, message.from);
|
||||||
message.avatar = (lookupUri == null ? null : lookupUri.toString());
|
message.avatar = (lookupUri == null ? null : lookupUri.toString());
|
||||||
|
|
||||||
|
/*
|
||||||
|
// Authentication is more reliable
|
||||||
Address sender = helper.getSender(); // header
|
Address sender = helper.getSender(); // header
|
||||||
if (sender != null) {
|
if (sender != null) {
|
||||||
String[] s = ((InternetAddress) sender).getAddress().split("@");
|
String[] s = ((InternetAddress) sender).getAddress().split("@");
|
||||||
|
@ -1221,6 +1223,7 @@ class Core {
|
||||||
if (s.length > 1 && (f == null || (f.length > 1 && !s[1].equals(f[1]))))
|
if (s.length > 1 && (f == null || (f.length > 1 && !s[1].equals(f[1]))))
|
||||||
message.warning = context.getString(R.string.title_via, s[1]);
|
message.warning = context.getString(R.string.title_via, s[1]);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
try {
|
try {
|
||||||
db.beginTransaction();
|
db.beginTransaction();
|
||||||
|
|
Loading…
Reference in New Issue