Commit 19fd2537 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added safety-check to ensure that room names are always in lowercase. JM-290


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1333 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1df7b9a7
......@@ -372,7 +372,7 @@ public class MUCUserImpl implements MUCUser {
historyRequest,
this,
packet.createCopy());
roles.put(group, role);
roles.put(group.toLowerCase(), role);
// If the client that created the room is non-MUC compliant then
// unlock the room thus creating an "instant" room
if (mucInfo == null && room.isLocked() && !room.isManuallyLocked()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment