From c49e9a7375a967b9c660a8a9b48bb4eebf10d1b0 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sat, 4 Jan 2020 01:59:21 +0100 Subject: [PATCH] Fix fallback to A/AAAA in case of missing SRV --- src/XMPPConnection.m | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/XMPPConnection.m b/src/XMPPConnection.m index 06c9d56..f7a410b 100644 --- a/src/XMPPConnection.m +++ b/src/XMPPConnection.m @@ -302,13 +302,8 @@ { OFMutableArray *records = [OFMutableArray array]; - if (exception != nil) { - [_delegates - broadcastSelector: @selector(connection:didThrowException:) - withObject: self - withObject: exception]; - return; - } + if (exception != nil) + response = nil; for (OFDNSResourceRecord *record in [response.answerRecords objectForKey: domainName])