mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Defer downloading body
This commit is contained in:
@@ -757,6 +757,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
if (!message.downloaded)
|
||||
EntityOperation.queue(db, message, EntityOperation.BODY);
|
||||
|
||||
for (EntityMessage tmessage : db.message().getMessageByThread(message.account, message.thread)) {
|
||||
db.message().setMessageUiSeen(tmessage.id, true);
|
||||
EntityOperation.queue(db, tmessage, EntityOperation.SEEN, true);
|
||||
|
||||
Reference in New Issue
Block a user