Disabled via check

This commit is contained in:
M66B 2019-04-21 07:32:54 +02:00
parent a312fb310b
commit 03b687b0c0
1 changed files with 3 additions and 0 deletions

View File

@ -1213,6 +1213,8 @@ class Core {
Uri lookupUri = ContactInfo.getLookupUri(context, message.from);
message.avatar = (lookupUri == null ? null : lookupUri.toString());
/*
// Authentication is more reliable
Address sender = helper.getSender(); // header
if (sender != null) {
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]))))
message.warning = context.getString(R.string.title_via, s[1]);
}
*/
try {
db.beginTransaction();