public void setPreserveHistOnRoomDeletionEnabled(boolean preserveHistOnRoomDeletion) {
        this.preserveHistOnRoomDeletion = preserveHistOnRoomDeletion;
    }
Sets if the room's conversation will be preserved when the room is deleted.

@param preserveHistOnRoomDeletion boolean that specified if the room's conversation will be preserved on deletion.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java