Prevent new message notifications on first sync

pull/145/head
M66B 6 years ago
parent b84a4ded3c
commit 350fbdf486

@ -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