Reset "ring notified" flag when syncing a folder after a Push event

Without this (but with the new silent fixes) new messages downloaded after a Push event would only create silent notifications.
This commit is contained in:
cketti 2021-07-31 20:38:50 +02:00
parent d461dece67
commit 49600c470c

View file

@ -598,6 +598,8 @@ public class MessagingController {
public void synchronizeMailboxBlocking(Account account, String folderServerId) throws MessagingException {
long folderId = getFolderId(account, folderServerId);
account.setRingNotified(false);
final CountDownLatch latch = new CountDownLatch(1);
putBackground("synchronizeMailbox", null, () -> {
try {