mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Fixed downloading wrong messages
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user