mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
SPARK-349: MUC / Create Room: fix strange behaviour
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12045 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
committed by
konstantin.zolotarev
parent
744bcde294
commit
74e30d37d4
@ -687,6 +687,7 @@ public class ConferenceRoomBrowser extends JPanel implements ActionListener, Com
|
||||
form.setAnswer("muc#roomconfig_roomsecret", password);
|
||||
}
|
||||
form.setAnswer("muc#roomconfig_roomname", mucRoomDialog.getRoomName());
|
||||
form.setAnswer("muc#roomconfig_roomdesc", mucRoomDialog.getRoomTopic());
|
||||
|
||||
if (mucRoomDialog.isPermanent()) {
|
||||
form.setAnswer("muc#roomconfig_persistentroom", true);
|
||||
|
||||
@ -244,8 +244,20 @@ public class RoomCreationDialog extends JPanel {
|
||||
return new String(confirmPasswordField.getPassword());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Room name of the RoomCreationDialog
|
||||
*
|
||||
* @return The Room name
|
||||
*/
|
||||
public String getRoomName() {
|
||||
return nameField.getText();
|
||||
}
|
||||
/**
|
||||
* Returns the Topic of the RoomCreationDialog
|
||||
* @return The Rooms Topic
|
||||
*/
|
||||
public String getRoomTopic() {
|
||||
return topicField.getText();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user