summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode')
-rw-r--r--src/com/isode/stroke/serializer/payloadserializers/FormSerializer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/isode/stroke/serializer/payloadserializers/FormSerializer.java b/src/com/isode/stroke/serializer/payloadserializers/FormSerializer.java
index c2a2189..9ab5e37 100644
--- a/src/com/isode/stroke/serializer/payloadserializers/FormSerializer.java
+++ b/src/com/isode/stroke/serializer/payloadserializers/FormSerializer.java
@@ -191,12 +191,12 @@ public class FormSerializer extends GenericPayloadSerializer<Form> {
private static void serializeValueAsString(GenericFormField<String> field,
XMLElement parent) {
String value = field.getValue();
- if (!value.isEmpty()) {
+ // FIXME with the proper fix after Swiften is fixed: if (!value.isEmpty()) {
XMLElement valueElement = new XMLElement(
FormField.FORM_FIELD_ELEMENT_VALUE);
valueElement.addNode(XMLTextNode.create(value));
parent.addNode(valueElement);
- }
+ // }
}
@Override