fix srv l00kup
This commit is contained in:
parent
1e2f27942b
commit
e3733b0827
|
@ -62,10 +62,7 @@ class TCPsocket(PlugIn):
|
||||||
# SRV resolver
|
# SRV resolver
|
||||||
if 'dns' in globals(): # if dnspython is available support SRV
|
if 'dns' in globals(): # if dnspython is available support SRV
|
||||||
host, port = server
|
host, port = server
|
||||||
possible_queries = [
|
possible_queries = ['_xmpp-client._tcp.' + host]
|
||||||
"_xmpp-client._tcp." + host,
|
|
||||||
"_jabber._tcp." + host,
|
|
||||||
]
|
|
||||||
|
|
||||||
for query in possible_queries:
|
for query in possible_queries:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue