From 5a754d127973f3471ff5c22762cfb0096dfdc614 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 6 May 2005 20:39:43 +0000 Subject: [PATCH] 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 --- source/org/jivesoftware/smackx/muc/MultiUserChat.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/muc/MultiUserChat.java b/source/org/jivesoftware/smackx/muc/MultiUserChat.java index 64299966e..77dd1b1f7 100644 --- a/source/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/source/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -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(); }