aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-02-15 22:12:39 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-02-15 22:12:39 +0100
commitc4b1df1bf305a84a972837298106de2674bb1c5c (patch)
tree151ec3a91f82791d7078c7e94b7837c20d4bf974 /src/main/java
parentc3f0503a916514dd6c95e249905cea7bc8103b9a (diff)
add missing type='submit' attribute to enable push form
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/generator/IqGenerator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/IqGenerator.java b/src/main/java/eu/siacs/conversations/generator/IqGenerator.java
index 258897a1..4395a546 100644
--- a/src/main/java/eu/siacs/conversations/generator/IqGenerator.java
+++ b/src/main/java/eu/siacs/conversations/generator/IqGenerator.java
@@ -331,6 +331,7 @@ public class IqGenerator extends AbstractGenerator {
Data data = new Data();
data.setFormType("http://jabber.org/protocol/pubsub#publish-options");
data.put("secret",secret);
+ data.submit();
enable.addChild(data);
return packet;
}