diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/OptionsExtension.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/OptionsExtension.java index 7249f9eea..df39053b5 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/OptionsExtension.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/OptionsExtension.java @@ -51,14 +51,9 @@ public class OptionsExtension extends NodeExtension { @Override protected void addXml(XmlStringBuilder xml) { - xml.rightAngleBracket(); - - xml.halfOpenElement(getElementName()); xml.attribute("jid", jid); - xml.optAttribute("node", getNode()); xml.optAttribute("subid", id); xml.closeEmptyElement(); - xml.closeElement(this); } }