Skip to content

Commit 85d9f9e

Browse files
committed
Fix missing return in Homeserver endpoint discovery, skipping DNS SRV
1 parent 6278301 commit 85d9f9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/kamax/mxisd/matrix/HomeserverFederationResolver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public URL resolve(String domain) {
205205
if (s4.isPresent()) {
206206
URL dest = s4.get();
207207
log.info("Resolution of {} via DNS SRV record to {}", domain, dest);
208+
return dest;
208209
}
209210

210211
URL dest = build(domain + ":" + getDefaultPort());

0 commit comments

Comments
 (0)