1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-26 06:07:59 +01:00

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

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));
}
}
}