Index: src/XMPPConnection.m ================================================================== --- src/XMPPConnection.m +++ src/XMPPConnection.m @@ -249,11 +249,11 @@ XMPPSRVEntry *candidate = nil; XMPPSRVLookup *SRVLookup = nil; OFEnumerator *enumerator; if (server) - [sock connectToHost: server + [sock connectToHost: [self XMPP_IDNAToASCII: server] port: port]; else { @try { SRVLookup = [XMPPSRVLookup lookupWithDomain: domainToASCII];