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

Small improvement

This commit is contained in:
M66B 2020-12-06 12:03:14 +01:00
parent f1f08176bb
commit 3570247a65

View file

@ -936,12 +936,13 @@ class Core {
// Some providers do not list the new message yet // Some providers do not list the new message yet
Long found = findUid(ifolder, message.msgid, true); Long found = findUid(ifolder, message.msgid, true);
if (newuid == null) if (found != null)
newuid = found; if (newuid == null)
else if (!newuid.equals(found)) { newuid = found;
Log.e(folder.name + " Added=" + newuid + " found=" + found); else if (!newuid.equals(found)) {
newuid = found; Log.e(folder.name + " Added=" + newuid + " found=" + found);
} newuid = found;
}
if (newuid != null && (message.uid == null || newuid > message.uid)) if (newuid != null && (message.uid == null || newuid > message.uid))
try { try {