mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
Use contact data for syn days before account creation
This commit is contained in:
@@ -727,7 +727,8 @@ public class ContactInfo {
|
||||
|
||||
static void update(
|
||||
Context context, EntityAccount account, final EntityFolder folder, final EntityMessage message) {
|
||||
if (message.received < account.created)
|
||||
long sync_time = (folder.sync_days == Integer.MAX_VALUE ? 0 : folder.sync_days) * 24 * 3600 * 1000L;
|
||||
if (message.received < account.created - sync_time)
|
||||
return;
|
||||
|
||||
if (EntityFolder.DRAFTS.equals(folder.type) ||
|
||||
|
||||
Reference in New Issue
Block a user