Case insensitive extra

This commit is contained in:
M66B 2023-07-12 23:15:23 +02:00
parent ddab3c3373
commit 70eb05be6c
1 changed files with 1 additions and 1 deletions

View File

@ -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))