mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Fix Bytestream.getChildElementXML returning invalid XML
This commit is contained in:
parent
24f7de8d54
commit
6021f8a8ce
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue