1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Allow default CC/BCC only

This commit is contained in:
M66B 2020-04-20 16:26:18 +02:00
parent 2deb6e18fd
commit 09338dc2dc

View file

@ -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)