1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +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
Long found = findUid(ifolder, message.msgid, true);
if (newuid == null)
newuid = found;
else if (!newuid.equals(found)) {
Log.e(folder.name + " Added=" + newuid + " found=" + found);
newuid = found;
}
if (found != null)
if (newuid == null)
newuid = found;
else if (!newuid.equals(found)) {
Log.e(folder.name + " Added=" + newuid + " found=" + found);
newuid = found;
}
if (newuid != null && (message.uid == null || newuid > message.uid))
try {