From 89a558dfbbbde668666e7d8af8f52c23fa61530b Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 18 Jul 2012 14:52:24 +0200 Subject: make QXmppStreamFeatures string-based to allow pluggable SASL --- src/server/QXmppIncomingClient.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server') diff --git a/src/server/QXmppIncomingClient.cpp b/src/server/QXmppIncomingClient.cpp index 721f7e47..c81c20be 100644 --- a/src/server/QXmppIncomingClient.cpp +++ b/src/server/QXmppIncomingClient.cpp @@ -200,10 +200,10 @@ void QXmppIncomingClient::handleStream(const QDomElement &streamElement) } else if (d->passwordChecker) { - QList mechanisms; - mechanisms << QXmppConfiguration::SASLPlain; + QStringList mechanisms; + mechanisms << "PLAIN"; if (d->passwordChecker->hasGetPassword()) - mechanisms << QXmppConfiguration::SASLDigestMD5; + mechanisms << "DIGEST-MD5"; features.setAuthMechanisms(mechanisms); } sendPacket(features); -- cgit v1.2.3