if (room.isInRoom(newOccupantJid)) {
// user is already in room, change nick
logger.debug("{} has requested to change nick in room {}", newOccupantJid, roomJid);
// occupant is already in room
Occupant occupant = room.findOccupantByJID(newOccupantJid);
if (nick.equals(occupant.getNick())) {
// nick unchanged, change show and status
for (Occupant receiver : room.getOccupants()) {
sendChangeShowStatus(occupant, receiver, room, getInnerElementText(stanza, "show"),
getInnerElementText(stanza, "status"), serverRuntimeContext);