mirror of https://github.com/M66B/FairEmail.git
Prevent new message notifications on first sync
This commit is contained in:
parent
b84a4ded3c
commit
350fbdf486
Binary file not shown.
|
@ -71,6 +71,7 @@ import java.text.Collator;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -682,6 +683,9 @@ public class FragmentAccount extends FragmentEx {
|
||||||
account.primary = (account.synchronize && primary);
|
account.primary = (account.synchronize && primary);
|
||||||
account.poll_interval = Integer.parseInt(interval);
|
account.poll_interval = Integer.parseInt(interval);
|
||||||
|
|
||||||
|
if (!update)
|
||||||
|
account.seen_until = new Date().getTime();
|
||||||
|
|
||||||
account.store_sent = false;
|
account.store_sent = false;
|
||||||
|
|
||||||
if (!synchronize)
|
if (!synchronize)
|
||||||
|
|
Loading…
Reference in New Issue