Fixed crash

pull/23/head
M66B 6 years ago
parent be8fb15ec0
commit 73b5c9cbea

@ -1026,7 +1026,7 @@ public class ServiceSynchronize extends LifecycleService {
long id = MimeMessageEx.getId(imessage); long id = MimeMessageEx.getId(imessage);
message = db.message().getMessage(id); message = db.message().getMessage(id);
if (message.folder != folder.id) if (message != null && message.folder != folder.id)
message = null; // Archive message = null; // Archive
boolean update = (message != null); boolean update = (message != null);
if (message == null) if (message == null)

Loading…
Cancel
Save