1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Fixed UNIQUE constraint failed

This commit is contained in:
M66B 2019-01-20 12:34:03 +00:00
parent 28047e3f05
commit 0cad384e6d

View file

@ -2409,8 +2409,7 @@ public class ServiceSynchronize extends LifecycleService {
" folder=" + dfolder.type + ":" + dup.folder + "/" + folder.type + ":" + folder.id +
" msgid=" + dup.msgid + " thread=" + dup.thread);
if (dup.folder.equals(folder.id) ||
(EntityFolder.OUTBOX.equals(dfolder.type) && EntityFolder.SENT.equals(folder.type))) {
if (dup.folder.equals(folder.id)) {
String thread = helper.getThreadId(uid);
Log.i(folder.name + " found as id=" + dup.id + "/" +
" uid=" + dup.uid + "/" + uid +