1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Fix Bytestream.getChildElementXML returning invalid XML

This commit is contained in:
Florian Schmaus 2014-08-19 12:42:23 +02:00
parent 24f7de8d54
commit 6021f8a8ce

View file

@ -221,7 +221,7 @@ public class Bytestream extends IQ {
@Override @Override
public XmlStringBuilder getChildElementXML() { public XmlStringBuilder getChildElementXML() {
XmlStringBuilder xml = new XmlStringBuilder(); XmlStringBuilder xml = new XmlStringBuilder();
xml.openElement(IQ.QUERY_ELEMENT); xml.halfOpenElement(IQ.QUERY_ELEMENT);
xml.xmlnsAttribute(NAMESPACE); xml.xmlnsAttribute(NAMESPACE);
switch(getType()) { switch(getType()) {