Simplification

pull/178/head
M66B 5 years ago
parent 848632abb5
commit b4b281c50a

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

Loading…
Cancel
Save