From a1ab687f6e579f3b8f11e6c41e3833ce636f43bf Mon Sep 17 00:00:00 2001 From: genofire Date: Sun, 9 Feb 2020 23:30:00 +0100 Subject: [PATCH] [BUGFIX] Resolver: allow srv entry with priority 0 --- src/main/java/eu/siacs/conversations/utils/Resolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/Resolver.java b/src/main/java/eu/siacs/conversations/utils/Resolver.java index befc896ab..d35a7ae2f 100644 --- a/src/main/java/eu/siacs/conversations/utils/Resolver.java +++ b/src/main/java/eu/siacs/conversations/utils/Resolver.java @@ -173,7 +173,7 @@ public class Resolver { final List results = new ArrayList<>(); final List threads = new ArrayList<>(); for (SRV record : result.getAnswersOrEmptySet()) { - if (record.name.length() == 0 && record.priority == 0) { + if (record.name.length() == 0) { continue; } threads.add(new Thread(() -> {