From 70eb05be6cf463ec38c605d7e5cce141b3e1b16b Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 12 Jul 2023 23:15:23 +0200 Subject: [PATCH] Case insensitive extra --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index e1db9abf64..aba35ec9a2 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -5496,7 +5496,7 @@ public class FragmentCompose extends FragmentBase { String from = ((InternetAddress) preferred).getAddress(); String name = ((InternetAddress) preferred).getPersonal(); EntityLog.log(context, "Preferred=" + name + " <" + from + ">"); - if (TextUtils.isEmpty(from) || from.equals(recognized.email)) + if (TextUtils.isEmpty(from) || from.equalsIgnoreCase(recognized.email)) from = null; if (!recognized.reply_extra_name || TextUtils.isEmpty(name) || name.equals(recognized.name))