From 09338dc2dca24800e3b917e63154db020e790033 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 20 Apr 2020 16:26:18 +0200 Subject: [PATCH] Allow default CC/BCC only --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 21650ca4ba..271a87e44a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4064,8 +4064,9 @@ public class FragmentCompose extends FragmentBase { if (draft.identity == null) throw new IllegalArgumentException(context.getString(R.string.title_from_missing)); - if (draft.to == null && draft.cc == null && draft.bcc == null) - args.putBoolean("remind_to", true); + if (draft.to == null && draft.cc == null && draft.bcc == null && + (identity == null || (identity.cc == null && identity.bcc == null))) + args.putBoolean("remind_to", true); if (TextUtils.isEmpty(draft.extra) && identity != null && identity.sender_extra)