mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 04:53:22 +02:00
Added retry for sent orphans
This commit is contained in:
@@ -1519,6 +1519,13 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
force = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (EntityFolder.SENT.equals(folder.type)) {
|
||||
List<EntityMessage> orphans = db.message().getSentOrphans(folder.id);
|
||||
if (orphans != null)
|
||||
for (EntityMessage orphan : orphans)
|
||||
EntityOperation.queue(context, orphan, EntityOperation.EXISTS);
|
||||
}
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
||||
Reference in New Issue
Block a user