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>2020-11-27 11:27:01 +0300
committerJoas Schilling <coding@schilljs.com>2020-11-27 11:27:01 +0300
commitcb7f80e8acfd121fe8b0764b2e65da506341bdea (patch)
treead368b8bf5ef1daf2bb916c5a9bb36d520fbfdf8 /lib/PublicShareAuth
parent44f3732dfd06701f681ca4a73153ace9f3a9d3b7 (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.php4
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.