summaryrefslogtreecommitdiffstats
path: root/lib/Manager.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-05 12:37:12 +0100
committerJoas Schilling <coding@schilljs.com>2021-03-08 11:56:21 +0100
commit928e047de2dca944ba2d1747bd1e3a83e57e746c (patch)
treeb5d23aa1d49e78f51a983836448223643d98c4b7 /lib/Manager.php
parent1dd9297864a925f36db88bd3bfd59af41a1e2f3d (diff)
Handle all getParticipants with multi sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Manager.php')
-rw-r--r--lib/Manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Manager.php b/lib/Manager.php
index 6ff1b727c..30861c338 100644
--- a/lib/Manager.php
+++ b/lib/Manager.php
@@ -821,7 +821,7 @@ class Manager {
$room = $this->createRoomObject($row);
try {
- $room->getParticipant($userId);
+ $room->getParticipant($userId, false);
} catch (ParticipantNotFoundException $e) {
$user = $this->userManager->get($userId);
$this->participantService->addUsers($room,[[
@@ -924,7 +924,7 @@ class Manager {
$sessionId = $this->talkSession->getSessionForRoom($room->getToken());
$room->getParticipantBySession($sessionId);
} else {
- $room->getParticipant($userId);
+ $room->getParticipant($userId, false);
}
} catch (ParticipantNotFoundException $e) {
// Do not leak the name of rooms the user is not a part of