mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Small improvement
This commit is contained in:
parent
f1f08176bb
commit
3570247a65
1 changed files with 7 additions and 6 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue