mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
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 New Issue
Block a user