diff options
Diffstat (limited to 'source/QXmppRpcIq.cpp')
| -rw-r--r-- | source/QXmppRpcIq.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/QXmppRpcIq.cpp b/source/QXmppRpcIq.cpp index 4e9fed2f..985fc562 100644 --- a/source/QXmppRpcIq.cpp +++ b/source/QXmppRpcIq.cpp @@ -39,22 +39,6 @@ void QXmppRpcErrorIq::parse(const QDomElement &element) QXmppStanza::parse(element); setTypeFromStr(element.attribute("type")); - - QDomElement errorElement = element.firstChildElement("error"); - QXmppStanza::Error error; - error.setTypeFromStr( errorElement.attribute("type")); - - QDomElement conditionElement = errorElement.firstChildElement(); - while(!conditionElement.isNull()) - { - if(conditionElement.namespaceURI() == ns_stanza) - { - error.setConditionFromStr( conditionElement.tagName() ); - } - conditionElement = conditionElement.nextSiblingElement(); - } - - setError( error ); } QXmppRpcResponseIq::QXmppRpcResponseIq() : QXmppIq( QXmppIq::Result ) |
