1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +01:00

Fix AffiliationsExtension.toXml()

Fixes SMACK-789.
This commit is contained in:
Florian Schmaus 2017-12-05 20:39:16 +01:00
parent 47940ba5ad
commit ca1852f6e0

View file

@ -63,7 +63,7 @@ public class AffiliationsExtension extends NodeExtension
{
// Can't use XmlStringBuilder(this), because we don't want the namespace to be included
XmlStringBuilder xml = new XmlStringBuilder();
xml.openElement(getElementName());
xml.halfOpenElement(getElementName());
xml.optAttribute("node", node);
xml.rightAngleBracket();
xml.append(items);