From 02e43af51f323020bbb514c34baa98536830691a Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 29 Jun 2021 21:50:12 +0200 Subject: [PATCH] Added mailto/bcc support --- app/src/main/java/eu/faircode/email/ActivityCompose.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityCompose.java b/app/src/main/java/eu/faircode/email/ActivityCompose.java index 1260314130..c4858f5b7d 100644 --- a/app/src/main/java/eu/faircode/email/ActivityCompose.java +++ b/app/src/main/java/eu/faircode/email/ActivityCompose.java @@ -110,10 +110,10 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB Map headers = mailto.getHeaders(); if (headers != null) 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)); - break; - } String body = mailto.getBody(); if (body != null) {