From 3540b0519aef46c7081c19c13dbc4781506ccff6 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 24 Aug 2023 07:08:23 +0200 Subject: [PATCH] Update RoomController.php to send lobby prop as part of token Signed-off-by: Eyck Jentzsch --- lib/Controller/RoomController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 15040387..2eebf640 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -133,6 +133,7 @@ public function token(string $publicId, ?string $displayName): DataResponse { $context = [ 'user' => [ 'name' => $displayName, + 'lobby' => $user === null, ], ];