mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-05 20:51:07 +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:
parent
e63fe22647
commit
b5daee3032
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ public class PacketParserUtils {
|
||||||
else if (IQ.Type.result == type){
|
else if (IQ.Type.result == type){
|
||||||
// No Provider found for the IQ stanza, parse it to an UnparsedIQ instance
|
// 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
|
// so that the content of the IQ can be examined later on
|
||||||
iqPacket = new UnparsedResultIQ(parseContent(parser));
|
iqPacket = new UnparsedResultIQ(parseElement(parser));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue