Fixed UNIQUE constraint failed

This commit is contained in:
M66B 2019-01-20 12:34:03 +00:00
parent 28047e3f05
commit 0cad384e6d
1 changed files with 1 additions and 2 deletions

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 +