From 073ac5fb611f8bc5b64fdf3980e6a137cfdd1e33 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 2 Feb 2023 12:05:12 +0100 Subject: [PATCH] Skip delete send ops --- app/src/main/java/eu/faircode/email/ServiceSend.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSend.java b/app/src/main/java/eu/faircode/email/ServiceSend.java index 502f1c8a9b..3e56dd56e8 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -390,6 +390,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar break; EntityOperation op = ops.get(0); + if (db.operation().getOperation(op.id) == null) { + ops.remove(op); + continue; + } EntityMessage message = null; if (op.message != null)