From 37224e2eb0ba965ea6a3ffbf834209d7b9016a44 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 12 Aug 2010 08:34:51 +0000 Subject: fix and test plaintext Non-SASL Auth Iq --- src/QXmppNonSASLAuth.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/QXmppNonSASLAuth.cpp') diff --git a/src/QXmppNonSASLAuth.cpp b/src/QXmppNonSASLAuth.cpp index 7fa1e9e8..dde91363 100644 --- a/src/QXmppNonSASLAuth.cpp +++ b/src/QXmppNonSASLAuth.cpp @@ -57,6 +57,8 @@ void QXmppNonSASLAuthIq::toXmlElementFromChild(QXmlStreamWriter *writer) const writer->writeTextElement("username", m_username); if (!m_digest.isEmpty()) writer->writeTextElement("digest", m_digest.toHex()); + if (!m_password.isEmpty()) + writer->writeTextElement("password", m_password); if (!m_resource.isEmpty()) writer->writeTextElement("resource", m_resource); writer->writeEndElement(); -- cgit v1.2.3