Commit d0ac74dc authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed namespace "jabber:client" from packets.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@690 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8df2f743
......@@ -313,7 +313,13 @@ public class XPPPacketReader {
case XmlPullParser.START_TAG:
{
QName qname = (pp.getPrefix() == null) ? df.createQName(pp.getName(), pp.getNamespace()) : df.createQName(pp.getName(), pp.getPrefix(), pp.getNamespace());
Element newElement = df.createElement(qname);
Element newElement = null;
if ("jabber:client".equals(qname.getNamespaceURI())) {
newElement = df.createElement(pp.getName());
}
else {
newElement = df.createElement(qname);
}
// Element newElement = DocumentHelper.createElement(pp.getName());
int nsStart = pp.getNamespaceCount(pp.getDepth() - 1);
int nsEnd = pp.getNamespaceCount(pp.getDepth());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment