diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-19 16:05:17 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-09-19 16:05:17 +0300 |
commit | 2ea6dac6ab52838886ca509fc44599662cca4640 (patch) | |
tree | 1812ca8ba69320799c4243dc3b55464c536f6f24 /lib/Listener | |
parent | d4424477feaa4a6e383f7805a3f75be4f181f726 (diff) |
Allow to join a call when there are participants inside
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Listener')
-rw-r--r-- | lib/Listener/RestrictStartingCalls.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listener/RestrictStartingCalls.php b/lib/Listener/RestrictStartingCalls.php index e9ccd10ee..35246838f 100644 --- a/lib/Listener/RestrictStartingCalls.php +++ b/lib/Listener/RestrictStartingCalls.php @@ -70,7 +70,7 @@ class RestrictStartingCalls { $canStartCall = true; } - if (!$canStartCall) { + if (!$canStartCall && !$room->hasSessionsInCall()) { throw new ForbiddenException('Can not start a call'); } } |