From 3acbba8982ca46983edc990ac83673ed398980d4 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 4 Feb 2019 10:08:25 +0000 Subject: [PATCH] Fixed handling commands for deleted messages --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 98394cd366..648a2d886d 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -364,6 +364,8 @@ public class ServiceSynchronize extends LifecycleService { long id = Long.parseLong(parts[1]); EntityMessage message = db.message().getMessage(id); + if (message == null) + return; switch (parts[0]) { case "seen":