Keep existing uid

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

@ -2114,9 +2114,11 @@ 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
if (dup.uid == null)
dup.uid = uid; dup.uid = uid;
dup.msgid = msgid; dup.msgid = msgid;
dup.thread = thread; dup.thread = thread;

Loading…
Cancel
Save