diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-09 14:01:14 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-09 14:01:14 +0000 |
| commit | 393cd201d218fdfd2afd74f9db928b1107a657ea (patch) | |
| tree | b62e595c312e0cfce5e5faaff25db0d52fdfdea2 /source/QXmppInformationRequestResult.cpp | |
| parent | 154b5461b877e04f5085f4b0d1c0283c8cf344d7 (diff) | |
| download | qxmpp-393cd201d218fdfd2afd74f9db928b1107a657ea.tar.gz | |
add the missing XEP-0054: vcard-temp discovery support
Diffstat (limited to 'source/QXmppInformationRequestResult.cpp')
| -rw-r--r-- | source/QXmppInformationRequestResult.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/QXmppInformationRequestResult.cpp b/source/QXmppInformationRequestResult.cpp index 97c4bb61..f62a6571 100644 --- a/source/QXmppInformationRequestResult.cpp +++ b/source/QXmppInformationRequestResult.cpp @@ -52,5 +52,10 @@ void QXmppInformationRequestResult::toXmlElementFromChild(QXmlStreamWriter *writ writer->writeAttribute("var", ns_version); writer->writeEndElement(); + // XEP-0054: vcard-temp + writer->writeStartElement("feature"); + writer->writeAttribute("var", ns_vcard); + writer->writeEndElement(); + writer->writeEndElement(); } |
