From 884ce9870ad9fbdcd31df9907a8d5477ac614e70 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 11 Aug 2018 14:04:06 +0000 Subject: [PATCH] Fixed send operation --- app/src/main/java/eu/faircode/email/EntityOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EntityOperation.java b/app/src/main/java/eu/faircode/email/EntityOperation.java index 40f81aeb..b0ae10f7 100644 --- a/app/src/main/java/eu/faircode/email/EntityOperation.java +++ b/app/src/main/java/eu/faircode/email/EntityOperation.java @@ -99,7 +99,7 @@ public class EntityOperation { operation.id = db.operation().insertOperation(operation); Intent intent = new Intent(); - intent.setType("account/" + (message.account == null ? "outbox" : message.account)); + intent.setType("account/" + (SEND.equals(name) ? "outbox" : message.account)); intent.setAction(ServiceSynchronize.ACTION_PROCESS_OPERATIONS); intent.putExtra("folder", message.folder);