From d4f1d92f9e550f16c9b2b24f662f96c3425ea055 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 5 Jul 2019 21:00:56 +0200 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/FragmentIdentity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index 0e84d39980..34793940e0 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -650,8 +650,8 @@ public class FragmentIdentity extends FragmentBase { !host.equals(identity.host) || Integer.parseInt(port) != identity.port || !user.equals(identity.user) || !password.equals(identity.password) || !Objects.equals(realm, identityRealm) || - use_ip != identity.use_ip) || - identity.error != null); + use_ip != identity.use_ip || + identity.error != null)); Long last_connected = null; if (identity != null && synchronize == identity.synchronize)