Workaround server bug

mail.de
pull/162/head
M66B 5 years ago
parent cb42044851
commit e0c7abdad4

@ -734,8 +734,10 @@ class Core {
}
if (folder.id.equals(message.folder)) {
message.uid = findUid(ifolder, message.msgid, true);
if (message.uid != null) {
// Some providers do not list the new message yet
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);
db.message().setMessageUid(message.id, message.uid);

Loading…
Cancel
Save