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:
parent
1a99801501
commit
4d36e3b521
36 changed files with 1191 additions and 490 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue