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

Modified configuration form to edit the property "naturalLanguageName" instead of "Name".


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@218 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9dc7fdd1
......@@ -350,7 +350,7 @@ public class IQOwnerHandler {
field = completedForm.getField("muc#roomconfig_roomname");
if (field != null) {
values = field.getValues();
room.setName((values.hasNext() ? (String)values.next() : " "));
room.setNaturalLanguageName((values.hasNext() ? (String)values.next() : " "));
}
field = completedForm.getField("muc#roomconfig_roomdesc");
......@@ -507,7 +507,7 @@ public class IQOwnerHandler {
try {
FormField field = configurationForm.getField("muc#roomconfig_roomname");
field.clearValues();
field.addValue(room.getName());
field.addValue(room.getNaturalLanguageName());
field = configurationForm.getField("muc#roomconfig_roomdesc");
field.clearValues();
......
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