mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Refactoring
This commit is contained in:
@@ -934,7 +934,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
List<EntityIdentity> identities = db.identity().getIdentities(account.id);
|
||||
for (EntityIdentity identity : identities)
|
||||
if (identity.password.equals(account.password) &&
|
||||
Helper.getTld(identity.host).equals(Helper.getTld(account.host))) {
|
||||
ConnectionHelper.isSameDomain(identity.host, account.host)) {
|
||||
Log.i("Changing identity password host=" + identity.host);
|
||||
identity.password = password;
|
||||
db.identity().updateIdentity(identity);
|
||||
|
||||
Reference in New Issue
Block a user