mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-05 11:08:17 +00:00
Remove local contact age limit
This commit is contained in:
parent
3b19d03eff
commit
5875bb603e
1 changed files with 0 additions and 4 deletions
|
@ -97,8 +97,6 @@ public class EntityContact implements Serializable {
|
|||
@NonNull
|
||||
public Integer state = STATE_DEFAULT;
|
||||
|
||||
private static int MAX_AGE = EntityFolder.DEFAULT_KEEP;
|
||||
|
||||
static void received(
|
||||
@NonNull Context context,
|
||||
@NonNull EntityAccount account,
|
||||
|
@ -106,8 +104,6 @@ public class EntityContact implements Serializable {
|
|||
@NonNull EntityMessage message) {
|
||||
if (account.protocol == EntityAccount.TYPE_IMAP) {
|
||||
int days = (folder.isOutgoing() ? folder.keep_days : folder.sync_days);
|
||||
if (days > MAX_AGE)
|
||||
days = MAX_AGE;
|
||||
if (message.received < account.created - days * 24 * 3600 * 1000L)
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue