add missing type='submit' attribute to enable push form
This commit is contained in:
parent
c3f0503a91
commit
c4b1df1bf3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue