mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Use contact data for syn days before account creation
This commit is contained in:
parent
f377f6ba89
commit
c4485d587a
1 changed files with 2 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue