A room is sold twice
Availability is kept by room type; if the room type is full or the room is on another reservation, the booking is not created. Across channels inventory is a single pool: a room opened to a channel is one of the hotel's free rooms.

