1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 07:04:49 +02:00

Fix Forwarded.toXml(String): Set the correct enclosing XML namespace

This commit is contained in:
Florian Schmaus 2018-05-09 16:52:22 +02:00
parent cd5daa6fd7
commit cb9a11b74e

View file

@ -70,7 +70,7 @@ public class Forwarded implements ExtensionElement {
XmlStringBuilder xml = new XmlStringBuilder(this); XmlStringBuilder xml = new XmlStringBuilder(this);
xml.rightAngleBracket(); xml.rightAngleBracket();
xml.optElement(getDelayInformation()); xml.optElement(getDelayInformation());
xml.append(forwardedPacket.toXML(null)); xml.append(forwardedPacket.toXML(NAMESPACE));
xml.closeElement(this); xml.closeElement(this);
return xml; return xml;
} }