mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +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 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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue