aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppByteStreamIq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppByteStreamIq.cpp')
-rw-r--r--source/QXmppByteStreamIq.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/QXmppByteStreamIq.cpp b/source/QXmppByteStreamIq.cpp
index 03af6130..28932c66 100644
--- a/source/QXmppByteStreamIq.cpp
+++ b/source/QXmppByteStreamIq.cpp
@@ -122,12 +122,8 @@ bool QXmppByteStreamIq::isByteStreamIq(const QDomElement &element)
return element.firstChildElement("query").namespaceURI() == ns_bytestreams;
}
-void QXmppByteStreamIq::parse(const QDomElement &element)
+void QXmppByteStreamIq::parseElementFromChild(const QDomElement &element)
{
- QXmppStanza::parse(element);
-
- setTypeFromStr(element.attribute("type"));
-
QDomElement queryElement = element.firstChildElement("query");
m_sid = queryElement.attribute("sid");
const QString modeStr = queryElement.attribute("mode");