mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -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
463b33855b
commit
1bed455e4f
@ -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