diff options
author | Joas Schilling <coding@schilljs.com> | 2021-02-17 16:48:15 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-08 11:56:17 +0100 |
commit | 4031c182dfde9b2d70f4a1f37b39a39b763fe6aa (patch) | |
tree | 0158816d8a4e159d381db6caeed9986098777cea /lib/Controller/PageController.php | |
parent | 6d9c838071eaeac4485ec3ad19b7d058d2e66368 (diff) |
Prepare selecting the correct session in case there are multiple
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 c5a3b36a6..8f1d12c27 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -216,7 +216,7 @@ class PageController extends Controller { if ($room instanceof Room && $room->hasPassword()) { // If the user joined themselves or is not found, they need the password. try { - $participant = $room->getParticipant($this->userId); + $participant = $room->getParticipant($this->userId, false); $requirePassword = $participant->getAttendee()->getParticipantType() === Participant::USER_SELF_JOINED; } catch (ParticipantNotFoundException $e) { $requirePassword = true; |