From b5daee303230cd599d8c51e81b619cc03108582e Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 30 Oct 2014 10:55:27 +0100 Subject: [PATCH] Include the full content in UnparsedResultIQ In order to prevent showing up as UnparsedResultIQ like this: --- .../java/org/jivesoftware/smack/util/PacketParserUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java b/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java index bb80cab08..410a4fe26 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/util/PacketParserUtils.java @@ -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)); } } }