Small improvement

pull/205/head
M66B 4 years ago
parent ddbd823c55
commit 9edadfaafa

@ -3575,6 +3575,8 @@ class Core {
message.warning = Log.formatThrowable(ex, false);
}
boolean check_blocklist = prefs.getBoolean("check_blocklist", false);
if (check_blocklist) {
boolean notJunk = false;
if (message.from != null)
for (Address from : message.from) {
@ -3590,9 +3592,7 @@ class Core {
}
}
boolean check_blocklist = prefs.getBoolean("check_blocklist", false);
if (check_blocklist &&
!have &&
if (!have &&
!EntityFolder.isOutgoing(folder.type) &&
!EntityFolder.ARCHIVE.equals(folder.type) &&
!EntityFolder.TRASH.equals(folder.type) &&
@ -3614,6 +3614,7 @@ class Core {
} catch (Throwable ex) {
Log.w(folder.name, ex);
}
}
try {
db.beginTransaction();

Loading…
Cancel
Save