add missing type='submit' attribute to enable push form

This commit is contained in:
Daniel Gultsch 2016-02-15 22:12:39 +01:00
parent c3f0503a91
commit c4b1df1bf3

View File

@ -331,6 +331,7 @@ public class IqGenerator extends AbstractGenerator {
Data data = new Data(); Data data = new Data();
data.setFormType("http://jabber.org/protocol/pubsub#publish-options"); data.setFormType("http://jabber.org/protocol/pubsub#publish-options");
data.put("secret",secret); data.put("secret",secret);
data.submit();
enable.addChild(data); enable.addChild(data);
return packet; return packet;
} }