for (String other : room.getUserList()) {
if (!other.equals(jid.getName())) {
user.sendPresence(room, jid.getName(), other, null);
}
}
room.broadcastPresence(jid.getName(), null);
} else if (ret == 0) {
// The nick already existed, send a conflict.
user.sendPresenceConflict(room, to);
return false;
}