diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-26 16:12:18 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-26 16:27:10 +0300 |
commit | 0253a69f8762e6bfec2327375effa0da7312cae4 (patch) | |
tree | a9f5dca889f10491ab841dc56898f00012318080 /lib/Service | |
parent | 8608bdcb1357376110e8c6332c870ce06b7c0d1e (diff) |
Don't error when a user is already a member
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ParticipantService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php index 311265ed9..448740a3c 100644 --- a/lib/Service/ParticipantService.php +++ b/lib/Service/ParticipantService.php @@ -316,7 +316,7 @@ class ParticipantService { $usersInGroup = $group->getUsers(); if (empty($existingParticipants)) { - $participants = $this->getParticipantsForRoom($room); + $existingParticipants = $this->getParticipantsForRoom($room); } $participantsByUserId = []; |