Browse Source

Fixed check for missing to recipient

main
M66B 6 years ago
parent
commit
1240b29404
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 1
- 1
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -477,7 +477,7 @@ public class FragmentCompose extends Fragment {
String subject = args.getString("subject"); String subject = args.getString("subject");
Address afrom = (ident == null ? null : new InternetAddress(ident.email, ident.name)); Address afrom = (ident == null ? null : new InternetAddress(ident.email, ident.name));
Address ato[] = (TextUtils.isEmpty(to) ? new Address[0] : InternetAddress.parse(to));
Address ato[] = (TextUtils.isEmpty(to) ? null : InternetAddress.parse(to));
// Build draft // Build draft
boolean update = (draft != null); boolean update = (draft != null);


Loading…
Cancel
Save