diff options
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/QXmppServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/QXmppServer.cpp b/src/server/QXmppServer.cpp index 2cf25362..49a5d6fe 100644 --- a/src/server/QXmppServer.cpp +++ b/src/server/QXmppServer.cpp @@ -48,7 +48,7 @@ static void helperToXmlAddDomElement(QXmlStreamWriter* stream, const QDomElement /* attributes */ QString xmlns = element.namespaceURI(); if (!xmlns.isEmpty() && !omitNamespaces.contains(xmlns)) - stream->writeAttribute("xmlns", xmlns); + stream->writeDefaultNamespace(xmlns); QDomNamedNodeMap attrs = element.attributes(); for (int i = 0; i < attrs.size(); i++) { |
