Browse Source

Fixed handling message removed exception

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

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

@ -868,10 +868,10 @@ public class ServiceSynchronize extends LifecycleService {
" args=" + op.args);
EntityMessage message = db.message().getMessage(op.message);
if (message == null)
throw new MessageRemovedException();
try {
if (message == null)
throw new MessageRemovedException();
db.message().setMessageError(message.id, null);
if (message.uid == null &&


Loading…
Cancel
Save