1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01: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);
xml.rightAngleBracket();
xml.optElement(getDelayInformation());
xml.append(forwardedPacket.toXML(null));
xml.append(forwardedPacket.toXML(NAMESPACE));
xml.closeElement(this);
return xml;
}