diff options
author | Joas Schilling <coding@schilljs.com> | 2024-02-05 13:28:16 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-02-05 13:28:16 +0100 |
commit | 903ecd3c82d216dec63116d98eb37cf032e84142 (patch) | |
tree | 00f80b28929e9926412ff3bbb1a5d8da47a258a1 /lib | |
parent | 46f03a57181314260206de601477889551c6ea3b (diff) |
fix(federation): Fix check for duplicate invites
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 6f5818275..a2169cec8 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -1051,7 +1051,7 @@ class RoomController extends AEnvironmentAwareController { foreach ($participants as $participant) { if ($participant->getAttendee()->getActorType() === Attendee::ACTOR_USERS) { $participantsByUserId[$participant->getAttendee()->getActorId()] = $participant; - } elseif ($participant->getAttendee()->getAccessToken() === Attendee::ACTOR_FEDERATED_USERS) { + } elseif ($participant->getAttendee()->getActorType() === Attendee::ACTOR_FEDERATED_USERS) { $remoteParticipantsByFederatedId[$participant->getAttendee()->getActorId()] = $participant; } } |