diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-27 11:27:01 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-27 11:27:01 +0300 |
commit | cb7f80e8acfd121fe8b0764b2e65da506341bdea (patch) | |
tree | ad368b8bf5ef1daf2bb916c5a9bb36d520fbfdf8 /lib/PublicShareAuth | |
parent | 44f3732dfd06701f681ca4a73153ace9f3a9d3b7 (diff) |
No participants means everything is okay
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/PublicShareAuth')
-rw-r--r-- | lib/PublicShareAuth/Listener.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicShareAuth/Listener.php b/lib/PublicShareAuth/Listener.php index 01c47fdfd..81b421feb 100644 --- a/lib/PublicShareAuth/Listener.php +++ b/lib/PublicShareAuth/Listener.php @@ -137,6 +137,10 @@ class Listener { return; } + if (empty($participants)) { + return; + } + // Events with more than one participant can be directly aborted, as // when the owner is added during room creation or a user self-joins the // event will always have just one participant. |