diff options
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java b/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java index f70a74ddc..3ab3b6c39 100644 --- a/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java +++ b/src/eu/siacs/conversations/xmpp/stanzas/IqPacket.java @@ -1,6 +1,5 @@ package eu.siacs.conversations.xmpp.stanzas; -import android.graphics.YuvImage; import eu.siacs.conversations.xml.Element; @@ -39,8 +38,7 @@ public class IqPacket extends AbstractStanza { public Element query() { Element query = findChild("query"); if (query==null) { - query = new Element("query"); - addChild(query); + query = addChild("query"); } return query; } |