In the room settings, add a way for the user to report the room
New item "Report room" can be added above Leave room. Clicking on it will open a dialog to eventually provide a reason (or cancel) and submitted the dialog will invoke the report content API with the eventId of the state event m.room.create.
Once reported, a confirmation dialog will be shown, similar to the dialog shown when reporting a specific event.
The "Report room" action will not be displayed for DM, only for rooms.