1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Gmail favicon

This commit is contained in:
M66B 2020-06-30 12:35:38 +02:00
parent 4ecc53e965
commit 2c8137d31d

View file

@ -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");