X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fprotocols%2Fdatastream%2Fdatastreampeer.cpp;fp=src%2Fcommon%2Fprotocols%2Fdatastream%2Fdatastreampeer.cpp;h=acf7a42530aaf40b81d6d580ce98a9fafdebfc59;hp=b21b9df92f82c2142529c77e9c554600c67555c7;hb=d6f3eedebc7f9619b04dffc5f48faa792950fdcd;hpb=931e5280abc6738f94ac052af2a7e31e82487cf1 diff --git a/src/common/protocols/datastream/datastreampeer.cpp b/src/common/protocols/datastream/datastreampeer.cpp index b21b9df9..acf7a425 100644 --- a/src/common/protocols/datastream/datastreampeer.cpp +++ b/src/common/protocols/datastream/datastreampeer.cpp @@ -124,12 +124,12 @@ void DataStreamPeer::handleHandshakeMessage(const QVariantList &mapData) } else if (msgType == "ClientInitAck") { - handle(ClientRegistered(m["CoreFeatures"].toUInt(), m["Configured"].toBool(), m["StorageBackends"].toList(), m["AuthBackends"].toList(), false)); // SupportsSsl is obsolete + handle(ClientRegistered(m["CoreFeatures"].toUInt(), m["Configured"].toBool(), m["StorageBackends"].toList(), false, m["AuthBackends"].toList())); // SupportsSsl obsolete } else if (msgType == "CoreSetupData") { QVariantMap map = m["SetupData"].toMap(); - handle(SetupData(map["AdminUser"].toString(), map["AdminPasswd"].toString(), map["Backend"].toString(), map["AuthBackend"].toString(), map["ConnectionProperties"].toMap(), map["AuthProperties"].toMap())); + handle(SetupData(map["AdminUser"].toString(), map["AdminPasswd"].toString(), map["Backend"].toString(), map["ConnectionProperties"].toMap(), map["AuthBackend"].toString(), map["AuthProperties"].toMap())); } else if (msgType == "CoreSetupReject") { @@ -206,7 +206,7 @@ void DataStreamPeer::dispatch(const SetupData &msg) // XXX: make these optional using core features. map["AuthBackend"] = msg.authenticator; map["AuthProperties"] = msg.authSetupData; - + QVariantMap m; m["MsgType"] = "CoreSetupData"; m["SetupData"] = map;