1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +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); 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;
} }