Allow default CC/BCC only

pull/178/head
M66B 5 years ago
parent 2deb6e18fd
commit 09338dc2dc

@ -4064,7 +4064,8 @@ public class FragmentCompose extends FragmentBase {
if (draft.identity == null) if (draft.identity == null)
throw new IllegalArgumentException(context.getString(R.string.title_from_missing)); throw new IllegalArgumentException(context.getString(R.string.title_from_missing));
if (draft.to == null && draft.cc == null && draft.bcc == null) if (draft.to == null && draft.cc == null && draft.bcc == null &&
(identity == null || (identity.cc == null && identity.bcc == null)))
args.putBoolean("remind_to", true); args.putBoolean("remind_to", true);
if (TextUtils.isEmpty(draft.extra) && if (TextUtils.isEmpty(draft.extra) &&

Loading…
Cancel
Save