Fixed UNIQUE constraint failed

pull/147/head
M66B 7 years ago
parent 28047e3f05
commit 0cad384e6d

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

Loading…
Cancel
Save