public Presence createPresence(Presence.Type presenceType) {
        Presence presence = new Presence();
        presence.setType(presenceType);
        presence.setFrom(selfOccupantData.getOccupantJID());
        return presence;
    }
Create a new presence in this room for the given role.

@param presenceType Type of presence to create (cannot be {@code null}).
@return The new presence
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java