aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/embed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/embed.php b/view/embed.php
index ccd4b98..eb7caee 100644
--- a/view/embed.php
+++ b/view/embed.php
@@ -1,6 +1,6 @@
<?php
-$room = new Room($_GET['room']);
+$room = $conference->getRoom($_GET['room']);
if(!$room->hasEmbed())
throw new NotFoundException('Embedding is not enabled in this room');