aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppNonSASLAuth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppNonSASLAuth.cpp')
-rw-r--r--src/base/QXmppNonSASLAuth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppNonSASLAuth.cpp b/src/base/QXmppNonSASLAuth.cpp
index 29337e5e..aa6f8791 100644
--- a/src/base/QXmppNonSASLAuth.cpp
+++ b/src/base/QXmppNonSASLAuth.cpp
@@ -93,7 +93,7 @@ void QXmppNonSASLAuthIq::parseElementFromChild(const QDomElement &element)
void QXmppNonSASLAuthIq::toXmlElementFromChild(QXmlStreamWriter *writer) const
{
writer->writeStartElement("query");
- writer->writeAttribute("xmlns", ns_auth);
+ writer->writeDefaultNamespace(ns_auth);
if (!m_username.isEmpty())
writer->writeTextElement("username", m_username);
if (!m_digest.isEmpty())