Refactoring

This commit is contained in:
M66B
2020-04-16 17:39:29 +02:00
parent 67d621450d
commit 1f8079e773
7 changed files with 15 additions and 15 deletions

View File

@@ -1077,7 +1077,7 @@ public class FragmentAccount extends FragmentBase {
db.beginTransaction();
if (account != null && !account.password.equals(password)) {
String domain = DNSHelper.getParentDomain(account.host);
String domain = DnsHelper.getParentDomain(account.host);
String match = (Objects.equals(account.host, domain) ? account.host : "%." + domain);
int count = db.identity().setIdentityPassword(account.id, account.user, password, match);
Log.i("Updated passwords=" + count + " match=" + match);