Browse Source

Prevent new message notifications on first sync

main
M66B 6 years ago
parent
commit
350fbdf486
2 changed files with 4 additions and 0 deletions
  1. BIN
      .idea/caches/build_file_checksums.ser
  2. +4
    -0
      app/src/main/java/eu/faircode/email/FragmentAccount.java

BIN
.idea/caches/build_file_checksums.ser View File


+ 4
- 0
app/src/main/java/eu/faircode/email/FragmentAccount.java View File

@ -71,6 +71,7 @@ import java.text.Collator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.Properties;
@ -682,6 +683,9 @@ public class FragmentAccount extends FragmentEx {
account.primary = (account.synchronize && primary);
account.poll_interval = Integer.parseInt(interval);
if (!update)
account.seen_until = new Date().getTime();
account.store_sent = false;
if (!synchronize)


Loading…
Cancel
Save