Skip to content

Commit 9009b34

Browse files
committed
put srv tls first in the list just to give it a little more priority
1 parent 53d2308 commit 9009b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xmpp/xmpp-core/connector.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,11 @@ void AdvancedConnector::connectToServer(const QString &server)
328328
return;
329329
}
330330

331-
QStringList services = { XMPP_CLIENT_SRV };
331+
QStringList services;
332332
if (!d->opt_directtls && d->opt_srvtls) {
333333
services << XMPP_CLIENT_TLS_SRV;
334334
}
335+
services << XMPP_CLIENT_SRV;
335336
if (d->opt_directtls) {
336337
d->port = XMPP_LEGACY_PORT;
337338
}

0 commit comments

Comments
 (0)