Added mailto/bcc support

This commit is contained in:
M66B 2021-06-29 21:50:12 +02:00
parent be3073944b
commit 02e43af51f
1 changed files with 3 additions and 3 deletions

View File

@ -110,10 +110,10 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
Map<String, String> headers = mailto.getHeaders(); Map<String, String> headers = mailto.getHeaders();
if (headers != null) if (headers != null)
for (String key : headers.keySet()) for (String key : headers.keySet())
if ("in-reply-to".equalsIgnoreCase(key)) { if ("bcc".equalsIgnoreCase(key))
args.putString("bcc", headers.get(key));
else if ("in-reply-to".equalsIgnoreCase(key))
args.putString("inreplyto", headers.get(key)); args.putString("inreplyto", headers.get(key));
break;
}
String body = mailto.getBody(); String body = mailto.getBody();
if (body != null) { if (body != null) {