Skip to content
Snippets Groups Projects
Commit e3733b08 authored by nkour's avatar nkour
Browse files

fix srv l00kup

parent 1e2f2794
No related branches found
No related tags found
No related merge requests found
......@@ -62,10 +62,7 @@ class TCPsocket(PlugIn):
# SRV resolver
if 'dns' in globals(): # if dnspython is available support SRV
host, port = server
possible_queries = [
"_xmpp-client._tcp." + host,
"_jabber._tcp." + host,
]
possible_queries = ['_xmpp-client._tcp.' + host]
for query in possible_queries:
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment