Small improvement

This commit is contained in:
M66B 2020-12-06 12:03:14 +01:00
parent f1f08176bb
commit 3570247a65
1 changed files with 7 additions and 6 deletions

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 {