public void setPublicRoom(boolean publicRoom) {
        this.publicRoom = publicRoom;
    }
Sets if the room is searchable and visible through service discovery.

@param publicRoom if the room is searchable and visible through service discovery.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java