mirror of https://github.com/M66B/FairEmail.git
parent
cb42044851
commit
e0c7abdad4
|
@ -734,8 +734,10 @@ class Core {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (folder.id.equals(message.folder)) {
|
if (folder.id.equals(message.folder)) {
|
||||||
message.uid = findUid(ifolder, message.msgid, true);
|
// Some providers do not list the new message yet
|
||||||
if (message.uid != null) {
|
Long newuid = findUid(ifolder, message.msgid, true);
|
||||||
|
if (message.uid != null && newuid != null && newuid > message.uid) {
|
||||||
|
message.uid = newuid;
|
||||||
Log.i(folder.name + " appended uid=" + message.uid);
|
Log.i(folder.name + " appended uid=" + message.uid);
|
||||||
db.message().setMessageUid(message.id, message.uid);
|
db.message().setMessageUid(message.id, message.uid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue