mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
since we're checking seen status within the notify method, (first thing,
even), we don't need to do it in the caller code.
This commit is contained in:
parent
ff62ae5c23
commit
1bea931ed0
@ -1722,13 +1722,11 @@ public class MessagingController implements Runnable
|
||||
l.synchronizeMailboxNewMessage(account, folder, localMessage);
|
||||
}
|
||||
}
|
||||
if (!localMessage.isSet(Flag.SEEN))
|
||||
// Send a notification of this message
|
||||
if (notifyAccount(mApplication, account, message) == true)
|
||||
{
|
||||
// Send a notification of this message
|
||||
if (notifyAccount(mApplication, account, message) == true)
|
||||
{
|
||||
newMessages.incrementAndGet();
|
||||
}
|
||||
newMessages.incrementAndGet();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1868,13 +1866,11 @@ public class MessagingController implements Runnable
|
||||
l.synchronizeMailboxNewMessage(account, folder, localMessage);
|
||||
}
|
||||
}
|
||||
if (!localMessage.isSet(Flag.SEEN))
|
||||
|
||||
// Send a notification of this message
|
||||
if (notifyAccount(mApplication, account, message) == true)
|
||||
{
|
||||
// Send a notification of this message
|
||||
if (notifyAccount(mApplication, account, message) == true)
|
||||
{
|
||||
newMessages.incrementAndGet();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user