Case insensitive extra

pull/213/head
M66B 1 year ago
parent ddab3c3373
commit 70eb05be6c

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

Loading…
Cancel
Save