mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
[xdata] Allow FillableForm.write() ot overwrite already filled fields
This commit is contained in:
parent
8c57d34b97
commit
68edc8b9f5
1 changed files with 0 additions and 3 deletions
|
@ -224,9 +224,6 @@ public class FillableForm extends FilledForm {
|
|||
if (!getDataForm().hasField(fieldName)) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
if (filledFields.containsKey(fieldName)) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
|
||||
// Perform validation, e.g. using XEP-0122.
|
||||
// TODO: We could also perform list-* option validation, but this has to take xep122's <open/> into account.
|
||||
|
|
Loading…
Reference in a new issue