mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +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:
parent
b2c85d1ccc
commit
5a754d1279
1 changed files with 2 additions and 2 deletions
|
@ -109,11 +109,11 @@ public class MultiUserChat {
|
||||||
* @param connection the XMPP connection.
|
* @param connection the XMPP connection.
|
||||||
* @param room the name of the room in the form "roomName@service", where
|
* @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 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) {
|
public MultiUserChat(XMPPConnection connection, String room) {
|
||||||
this.connection = connection;
|
this.connection = connection;
|
||||||
this.room = room;
|
this.room = room.toLowerCase();
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue