Browse Source

Fixed downloading wrong messages

main
M66B 5 years ago
parent
commit
a241a5d337
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 2
- 2
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -1404,8 +1404,8 @@ public class ServiceSynchronize extends LifecycleService {
for (int j = isub.length - 1; j >= 0; j--)
try {
Log.i(Helper.TAG, folder.name + " download index=" + (from + j) + " id=" + ids[from + j]);
if (ids[i - j] != null)
downloadMessage(this, folder, ids[i - j], (IMAPMessage) isub[j]);
if (ids[from + j] != null)
downloadMessage(this, folder, ids[from + j], (IMAPMessage) isub[j]);
} catch (FolderClosedException ex) {
throw ex;
} catch (FolderClosedIOException ex) {


Loading…
Cancel
Save