mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Fixed setting added uids
This commit is contained in:
parent
0215b97cea
commit
75213f93da
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ class Core {
|
|||
if (folder.id.equals(message.folder)) {
|
||||
// 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) {
|
||||
if (newuid != null && (message.uid == null || newuid > message.uid)) {
|
||||
message.uid = newuid;
|
||||
Log.i(folder.name + " appended uid=" + message.uid);
|
||||
db.message().setMessageUid(message.id, message.uid);
|
||||
|
|
Loading…
Reference in a new issue