mirror of https://github.com/M66B/FairEmail.git
Mark seen when unseen only
This commit is contained in:
parent
ef621f3481
commit
9de799d92d
|
@ -564,9 +564,11 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
if (!message.content)
|
||||
EntityOperation.queue(db, message, EntityOperation.BODY);
|
||||
|
||||
if (!message.ui_seen) {
|
||||
db.message().setMessageUiSeen(message.id, true);
|
||||
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
|
||||
}
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue