1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 00:59:39 +02:00

Introduce FormFieldChildElement and make FormField immutable

This commit is contained in:
Florian Schmaus 2019-06-10 16:58:38 +02:00
parent 1a99801501
commit 4d36e3b521
36 changed files with 1191 additions and 490 deletions

View file

@ -403,9 +403,9 @@ public class Workgroup {
String name = iter.next();
String value = metadata.get(name).toString();
FormField field = new FormField(name);
FormField.Builder field = FormField.builder(name);
field.setType(FormField.Type.text_single);
form.addField(field);
form.addField(field.build());
form.setAnswer(name, value);
}
joinQueue(form, userID);