Search identity on lower case email address

This commit is contained in:
M66B
2018-11-10 18:01:03 +00:00
parent 663dfd0ea0
commit d988f43e0b
2 changed files with 9 additions and 3 deletions

View File

@@ -401,8 +401,11 @@ public class FragmentIdentity extends FragmentEx {
if (TextUtils.isEmpty(password) && !insecure)
throw new IllegalArgumentException(getContext().getString(R.string.title_no_password));
email = email.toLowerCase();
if (TextUtils.isEmpty(replyto))
replyto = null;
else
replyto = replyto.toLowerCase();
if (Color.TRANSPARENT == color)
color = null;