public boolean isPreserveHistOnRoomDeletionEnabled() {
        return preserveHistOnRoomDeletion;
    }
Returns true if the room's conversation will be preserved when the room is deleted.

@return true if the room's conversation is being logged.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java