mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 07:36:31 +02:00
Check when synchronize is enabled only
This commit is contained in:
@@ -412,8 +412,8 @@ public class FragmentIdentity extends FragmentEx {
|
||||
DB db = DB.getInstance(context);
|
||||
EntityIdentity identity = db.identity().getIdentity(id);
|
||||
|
||||
boolean check = (identity == null || (synchronize &&
|
||||
(!host.equals(identity.host) || Integer.parseInt(port) != identity.port) ||
|
||||
boolean check = (synchronize && (identity == null ||
|
||||
!host.equals(identity.host) || Integer.parseInt(port) != identity.port ||
|
||||
!user.equals(identity.user) || !password.equals(identity.password)));
|
||||
|
||||
// Check SMTP server
|
||||
|
||||
Reference in New Issue
Block a user