1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-10 18:15:58 +01:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub
Guus der Kinderen 55d7b9d4eb Fix pubsub options rendering
The exiting code generates an unintentional nested 'options' child element:

```
<iq to='pubsub.example.org' id='FQTHU-126' type='get'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <options node='sinttest-multisubscribe-nodename-13pnc'>
      <options jid='smack-inttest-two-13pnc@example.org'
               node='sinttest-multisubscribe-nodename-13pnc'/>
    </options>
  </pubsub>
</iq>
```

This commit removes the undesired nesting, resulting in:

```
<iq to='pubsub.example.org' id='FQTHU-126' type='get'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <options jid='smack-inttest-two-13pnc@example.org'
             node='sinttest-multisubscribe-nodename-13pnc'/>
  </pubsub>
</iq>
```
2020-10-27 10:23:17 +01:00
..
filter pubsub: Add EventItemsExtensionFilter 2020-04-13 22:37:54 +02:00
form [pubsub] Make Fillable(Configure|Subscribe)Form constructors package-private 2020-05-15 11:54:49 +02:00
listener Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
packet Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
provider Re-work data form API 2020-05-13 20:14:41 +02:00
util Re-work data form API 2020-05-13 20:14:41 +02:00
AccessModel.java Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
Affiliation.java Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
AffiliationsExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
ChildrenAssociationPolicy.java Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
CollectionNode.java Enable LeftCurly checkstyle check 2018-04-06 10:25:06 +02:00
ConfigurationEvent.java Re-work data form API 2020-05-13 20:14:41 +02:00
ConfigureNodeFields.java Re-work data form API 2020-05-13 20:14:41 +02:00
EmbeddedPacketExtension.java Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
EventElement.java Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
EventElementType.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
FormNode.java Add missing rightangle bracket to FormNode addXml() 2020-06-15 16:15:27 +02:00
FormNodeType.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
GetItemsRequest.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
Item.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
ItemDeleteEvent.java Javadoc changes for Java 11 compatibility 2019-07-19 23:05:46 +02:00
ItemPublishEvent.java Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
ItemReply.java Re-work data form API 2020-05-13 20:14:41 +02:00
ItemsExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
LeafNode.java Re-work data form API 2020-05-13 20:14:41 +02:00
Node.java Re-work data form API 2020-05-13 20:14:41 +02:00
NodeEvent.java Enable LeftCurly checkstyle check 2018-04-06 10:25:06 +02:00
NodeExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
NodeType.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
NotificationType.java Re-work data form API 2020-05-13 20:14:41 +02:00
OptionsExtension.java Fix pubsub options rendering 2020-10-27 10:23:17 +01:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00
PayloadItem.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
PresenceState.java Re-work data form API 2020-05-13 20:14:41 +02:00
PublishItem.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
PublishModel.java Re-work data form API 2020-05-13 20:14:41 +02:00
PubSubElementType.java Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
PubSubException.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
PubSubFeature.java Fix minor codestyle issues 2017-12-17 11:03:46 +01:00
PubSubManager.java Re-work data form API 2020-05-13 20:14:41 +02:00
RetractItem.java Javadoc changes for Java 11 compatibility 2019-07-19 23:05:46 +02:00
SimplePayload.java Javadoc changes for Java 11 compatibility 2019-07-19 23:05:46 +02:00
SubscribeExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
SubscribeOptionFields.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
Subscription.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
SubscriptionEvent.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
SubscriptionsExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00
UnsubscribeExtension.java [pubsub] Rework NodeExtension.toXML() 2020-06-14 16:52:13 +02:00