[xdata] Allow FillableForm.write() ot overwrite already filled fields

This commit is contained in:
Florian Schmaus 2021-04-01 12:54:52 +02:00
parent 8c57d34b97
commit 68edc8b9f5
1 changed files with 0 additions and 3 deletions

View File

@ -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.