From 4d7cfe1ba7ce004b04c1bb2ead9db5792bb22f89 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 20 Jul 2012 09:27:20 +0200 Subject: SASL: move definition of available mechanisms to QXmppSaslClient --- src/client/QXmppOutgoingClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/QXmppOutgoingClient.cpp b/src/client/QXmppOutgoingClient.cpp index 4177f0b2..5a9828b3 100644 --- a/src/client/QXmppOutgoingClient.cpp +++ b/src/client/QXmppOutgoingClient.cpp @@ -338,7 +338,7 @@ void QXmppOutgoingClient::handleStanza(const QDomElement &nodeRecv) else if(saslAvailable) { // supported and preferred SASL auth mechanisms - const QStringList supportedMechanisms = QStringList() << "PLAIN" << "DIGEST-MD5" << "ANONYMOUS" << "X-FACEBOOK-PLATFORM"; + const QStringList supportedMechanisms = QXmppSaslClient::availableMechanisms(); const QString preferredMechanism = configuration().saslAuthMechanism(); // determine SASL Authentication mechanism to use -- cgit v1.2.3