public synchronized Presence getPresence() {
        return presence.createCopy();
    }
Obtains a copy of the current presence status of an occupant of a chatroom.

The 'from' address of the presence stanza is guaranteed to reflect the room address (as opposed to the real address) of the occupant..

@return The presence of the user in the room.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCOccupant.java