aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pages/room.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/room.php b/pages/room.php
index 526aabd..18bbe7f 100644
--- a/pages/room.php
+++ b/pages/room.php
@@ -28,6 +28,9 @@ if(room_has_video($room))
if(room_has_audio($room))
$selections[] = $tabs[] = 'audio';
+if(room_has_music($room))
+ $selections[] = $tabs[] = 'music';
+
if(room_has_slides($room))
$selections[] = $tabs[] = 'slides';
@@ -42,6 +45,7 @@ if(room_has_hls($room))
$protos[] = 'hls';
+
// default page
if(!$selection)
$selection = $selections[0];
@@ -58,7 +62,7 @@ switch($selection) {
break;
case 'music':
- $tab = 'audio';
+ $tab = 'music';
$title = 'Music';
break;