Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
No participants means everything is okay
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Nov 27, 2020
commit cb7f80e8acfd121fe8b0764b2e65da506341bdea
4 changes: 4 additions & 0 deletions lib/PublicShareAuth/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ public static function preventExtraUsersFromBeingAdded(Room $room, array $partic
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.
Expand Down