Commit f534e6d8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Removed form's fields no longer used.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@307 b35dd754-fafc-0310-a699-88a17e54d16e
parent ef1c1618
......@@ -127,20 +127,6 @@ public class IQRegisterHandler extends IQHandler implements ServerFeaturesProvid
field.setRequired(true);
registrationForm.addField(field);
field = new XFormFieldImpl("x-nameVisible");
field.setType(FormField.TYPE_BOOLEAN);
field.setLabel("Show name");
field.addValue("1");
field.setRequired(true);
registrationForm.addField(field);
field = new XFormFieldImpl("x-emailVisible");
field.setType(FormField.TYPE_BOOLEAN);
field.setLabel("Show email");
field.addValue("0");
field.setRequired(true);
registrationForm.addField(field);
// Create the probeResult and add the basic info together with the registration form
probeResult = new MetaDataFragment(element);
probeResult.addFragment(registrationForm);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment