Keep existing uid

pull/146/head
M66B 6 years ago
parent 0e3a06824f
commit 5097c0a537

@ -2114,10 +2114,12 @@ public class ServiceSynchronize extends LifecycleService {
if (dup.folder.equals(folder.id) || outbox) { if (dup.folder.equals(folder.id) || outbox) {
String thread = helper.getThreadId(uid); String thread = helper.getThreadId(uid);
Log.i(Helper.TAG, folder.name + " found as id=" + dup.id + "/" + uid + Log.i(Helper.TAG, folder.name + " found as id=" + dup.id + "/" +
" uid=" + dup.uid + "/" + uid +
" msgid=" + msgid + " thread=" + thread); " msgid=" + msgid + " thread=" + thread);
dup.folder = folder.id; // From outbox dup.folder = folder.id; // From outbox
dup.uid = uid; if (dup.uid == null)
dup.uid = uid;
dup.msgid = msgid; dup.msgid = msgid;
dup.thread = thread; dup.thread = thread;
dup.error = null; dup.error = null;

Loading…
Cancel
Save