diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-19 15:36:53 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-30 10:38:08 +0100 |
commit | c19f07ca8014282c07f87b26e0da3cdb8344dc26 (patch) | |
tree | 7d0899421e05ce1edb186ec34394b0fde5c3a27e /lib/Controller/PageController.php | |
parent | a961a26ecc57337c3f89b3decd7899b00f4fda67 (diff) |
Fix function usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 7174d5278..78fb51126 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -205,7 +205,7 @@ class PageController extends Controller { // If the room is not a public room, check if the user is in the participants if ($room->getType() !== Room::PUBLIC_CALL) { - $this->manager->getRoomForParticipant($room->getId(), $this->userId); + $this->manager->getRoomForUser($room->getId(), $this->userId); } } catch (RoomNotFoundException $e) { // Room not found, redirect to main page |