Commit 2bcdd8d7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Removed extra /. JM-579

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3497 b35dd754-fafc-0310-a699-88a17e54d16e
parent ab4ab0e9
......@@ -128,7 +128,7 @@ public class MUCRoleImpl implements MUCRole {
Element element = presence.getElement()
.element(QName.get("x", "http://jivesoftware.org/protocol/muc"));
if (element != null) {
voiceOnly = element.element("deaf-occupant/") != null;
voiceOnly = element.element("deaf-occupant") != null;
}
// Add the new role to the list of roles
user.addRole(room.getName(), this);
......
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