From 7a1ccd4db0de38e1f00bec00722765ab121a72db Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 13 Jul 2019 12:47:22 +0200 Subject: [PATCH] Skip answered operation in send service --- 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 2218edc859..356b7d9454 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -144,6 +144,10 @@ public class ServiceSend extends LifecycleService { send(message); break; + case EntityOperation.ANSWERED: + // This will be fixed when synchronizing the message + break; + default: throw new IllegalArgumentException("Unknown operation=" + op.name); }