mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Gmail favicon
This commit is contained in:
@@ -84,10 +84,6 @@ public class ContactInfo {
|
||||
private static final long CACHE_CONTACT_DURATION = 2 * 60 * 1000L; // milliseconds
|
||||
private static final long CACHE_GRAVATAR_DURATION = 2 * 60 * 60 * 1000L; // milliseconds
|
||||
|
||||
static {
|
||||
emailFaviconBlacklist.add("gmail.com");
|
||||
}
|
||||
|
||||
private ContactInfo() {
|
||||
}
|
||||
|
||||
@@ -277,6 +273,9 @@ public class ContactInfo {
|
||||
}
|
||||
|
||||
if (domain != null) {
|
||||
if ("gmail.com".equals(domain))
|
||||
domain = "google.com";
|
||||
|
||||
try {
|
||||
// check cache
|
||||
File dir = new File(context.getCacheDir(), "favicons");
|
||||
|
||||
Reference in New Issue
Block a user