Allow default CC/BCC only

This commit is contained in:
M66B 2020-04-20 16:26:18 +02:00
parent 2deb6e18fd
commit 09338dc2dc
1 changed files with 3 additions and 2 deletions

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)