1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 17:27:00 +00:00

Simplification

This commit is contained in:
M66B 2020-04-01 15:02:23 +02:00
parent 848632abb5
commit b4b281c50a

View file

@ -875,11 +875,9 @@ class Core {
ifolder.expunge();
}
boolean fetch =
(!target.synchronize || !"connected".equals(target.state) ||
target.poll || !istore.hasCapability("IDLE"));
// Fetch appended/copied when needed
boolean fetch = !"connected".equals(target.state);
if (draft || fetch)
try {
Log.i(target.name + " moved message fetch=" + fetch);