Limit audio rooms to Twitter Spaces features and fix live toolbar UX.
Deploy Ladill Meet / deploy (push) Successful in 1m3s

Block breakouts, chat, Q&A, and other meeting-only tools in spaces, hide video controls for audio-only rooms, and stabilize mobile nav and toolbar layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-04 00:25:40 +00:00
co-authored by Cursor
parent b087b7e95a
commit c51e59945e
10 changed files with 310 additions and 35 deletions
+23
View File
@@ -48,4 +48,27 @@ class SpaceService
{
return $room->isSpace() || (bool) $room->setting('audio_only', false);
}
/**
* Whether a live-room feature is available for this room type.
* Audio rooms (Spaces) mirror Twitter Spaces no breakouts, chat, Q&A, etc.
*/
public function allowsRoomFeature(Room $room, string $feature): bool
{
if (! $room->isSpace()) {
return true;
}
return ! in_array($feature, [
'breakouts',
'chat',
'qa',
'polls',
'files',
'whiteboard',
'programme',
'live_stream',
'lock',
], true);
}
}