protected synchronized MUCRoom getRoom() {
        if (room == null) {
            final MultiUserChatService service = XMPPServer.getInstance().getMultiUserChatManager().getMultiUserChatService(roomAddress);
            if (service == null) {
                throw new IllegalStateException("Deserializing history for non-existing service of room named " + roomAddress);
            }
            room = service.getChatRoom(roomAddress.getNode());
            if (room == null) {
                throw new IllegalStateException("Deserializing history for non-existing room named " + roomAddress);
            }
        }
        return room;
    }
Returns the room for which this instance is operating.

@return A room.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoomHistory.java