mirror of https://github.com/M66B/FairEmail.git
Oops
This commit is contained in:
parent
63d2602a3f
commit
85bd4c6967
|
@ -140,7 +140,7 @@ public class ServiceAuthenticator extends Authenticator {
|
|||
Log.e(ex);
|
||||
}
|
||||
|
||||
long slack = Math.max(keep_alive, MIN_EXPIRE_INTERVAL);
|
||||
long slack = Math.min(keep_alive, MIN_EXPIRE_INTERVAL);
|
||||
if (expiration != null && expiration - slack < new Date().getTime())
|
||||
throw new IllegalStateException(Log.TOKEN_REFRESH_REQUIRED);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue