mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-14 13:35:04 -05:00
Replace synchronous setting of a flag with async setting of the flag. This helps speed up message display time (anecdotally)
This commit is contained in:
parent
b27ffcf502
commit
5cec9e175b
@ -3168,8 +3168,7 @@ public class MessagingController implements Runnable {
|
||||
|
||||
if (account.isMarkMessageAsReadOnView() && !message.isSet(Flag.SEEN)) {
|
||||
List<Long> messageIds = Collections.singletonList(message.getId());
|
||||
setFlagInCache(account, messageIds, Flag.SEEN, true);
|
||||
setFlagSynchronous(account, messageIds, Flag.SEEN, true, false);
|
||||
setFlag(account, messageIds, Flag.SEEN, true);
|
||||
|
||||
((LocalMessage) message).setFlagInternal(Flag.SEEN, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user