Include the full content in UnparsedResultIQ

In order to prevent

<iq to='...' from='...' type='result' id='1'>
  <mynode xmlns='my:namespace' myattr='...'>
    <somenode\>
  </mynode>
</iq>

showing up as UnparsedResultIQ like this:

<iq to='...' from='...' type='result' id='1'>
  <somenode\>
</iq>
This commit is contained in:
Florian Schmaus 2014-10-30 10:55:27 +01:00
parent e63fe22647
commit b5daee3032
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ public class PacketParserUtils {
else if (IQ.Type.result == type){
// No Provider found for the IQ stanza, parse it to an UnparsedIQ instance
// so that the content of the IQ can be examined later on
iqPacket = new UnparsedResultIQ(parseContent(parser));
iqPacket = new UnparsedResultIQ(parseElement(parser));
}
}
}