diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-30 15:10:14 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-30 18:13:27 +0300 |
commit | 8078dd8d2741974a23cca9ad3ff66afa492a5f06 (patch) | |
tree | 1eccf20980ab8dbb7d4bec26d975051e1e0a1def /lib/Service | |
parent | 671ded54864357639ef7fa46163772a9a4b6791d (diff) |
Make sure we always generate a PIN for users when SIP is enabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ParticipantService.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php index 8707cf3ca..67ff97ced 100644 --- a/lib/Service/ParticipantService.php +++ b/lib/Service/ParticipantService.php @@ -283,6 +283,7 @@ class ParticipantService { $attendee = $participant->getAttendee(); if ($room->getSIPEnabled() === Webinary::SIP_ENABLED && $this->talkConfig->isSIPConfigured() + && $attendee->getActorType() === Attendee::ACTOR_USERS && !$attendee->getPin()) { $attendee->setPin($this->generatePin()); $this->attendeeMapper->update($attendee); |