mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +00:00
parent
bb816da2fe
commit
38c2b0f598
1 changed files with 2 additions and 4 deletions
|
@ -954,10 +954,8 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
EntityFolder sent = db.folder().getFolderByType(ident.account, EntityFolder.SENT);
|
||||
if (sent == null)
|
||||
; // Leave message in outbox
|
||||
else {
|
||||
else
|
||||
message.folder = sent.id;
|
||||
message.uid = null;
|
||||
}
|
||||
|
||||
// Update state
|
||||
if (message.thread == null)
|
||||
|
@ -1223,7 +1221,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
// - messages in archive have same id as original
|
||||
if (message == null) {
|
||||
// Will fetch headers within database transaction
|
||||
String msgid = imessage.getMessageID();
|
||||
String msgid = helper.getMessageID();
|
||||
message = db.message().getMessageByMsgId(msgid);
|
||||
if (message != null) {
|
||||
EntityFolder mfolder = db.folder().getFolder(message.folder);
|
||||
|
|
Loading…
Reference in a new issue