Browse Source

Fixed crash

main
M66B 6 years ago
parent
commit
73b5c9cbea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

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


Loading…
Cancel
Save