Clear saved IP addresses

This commit is contained in:
M66B
2024-01-06 19:42:36 +01:00
parent 0d6e4474f5
commit f60fd44073

View File

@@ -415,6 +415,8 @@ public class EmailService implements AutoCloseable {
String certificate, String fingerprint) throws MessagingException {
properties.put("fairemail.server", host);
DnsHelper.clear(context);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean bind_socket = prefs.getBoolean("bind_socket", false);
if (bind_socket &&