Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-26 16:12:18 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-26 16:27:10 +0300
commit0253a69f8762e6bfec2327375effa0da7312cae4 (patch)
treea9f5dca889f10491ab841dc56898f00012318080 /lib/Service
parent8608bdcb1357376110e8c6332c870ce06b7c0d1e (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.php2
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 = [];