@Override
    public Presence getPresence() {
        return presence;
    }
Obtain the presence of this session.

@return The presence of this session or null if not authenticated
xmppserver/src/main/java/org/jivesoftware/openfire/session/LocalClientSession.java