From 7a0c6a12ee9bc38437f3fee5609ac9b6430e054e Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 29 Jan 2024 20:23:28 +0100 Subject: [PATCH] Fixed resolving DNS in some cases --- app/src/main/java/eu/faircode/email/DnsHelper.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/DnsHelper.java b/app/src/main/java/eu/faircode/email/DnsHelper.java index bbbc20c5f0..7cb1b16280 100644 --- a/app/src/main/java/eu/faircode/email/DnsHelper.java +++ b/app/src/main/java/eu/faircode/email/DnsHelper.java @@ -260,9 +260,7 @@ public class DnsHelper { } else if (answer instanceof AAAA) { AAAA aaaa = (AAAA) answer; result.add(new DnsRecord(aaaa.getInetAddress())); - } else - throw new IllegalArgumentException(answer.getClass().getName()); - + } } }