1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-27 14:47:59 +01:00

Added checking to ensure that the room name does not contain uppercase letters.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2490 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2005-05-06 20:39:43 +00:00 committed by gaston
parent b2c85d1ccc
commit 5a754d1279

View file

@ -109,11 +109,11 @@ public class MultiUserChat {
* @param connection the XMPP connection.
* @param room the name of the room in the form "roomName@service", where
* "service" is the hostname at which the multi-user chat
* service is running.
* service is running. Make sure to provide a valid JID.
*/
public MultiUserChat(XMPPConnection connection, String room) {
this.connection = connection;
this.room = room;
this.room = room.toLowerCase();
init();
}