diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-28 11:06:21 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-28 11:28:30 +0300 |
commit | 8745fd19fe6c36a9b6d5b7f45abe3c53ed7a2798 (patch) | |
tree | ac311bb103fd4afd40865baeb85cc57e6fcb7d3d /lib/Controller | |
parent | 0e4fcbbf6b4eec0fe7d11c27f475d91f743bb2c2 (diff) |
Rename lobby constants
The lobby constants were named from the point of view of the webinary
(open to all participants, open to moderators only), but from the point
of view of the lobby it is the opposite (no lobby, lobby for non
moderators).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 82a393d58..45f85b50f 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -238,7 +238,7 @@ class RoomController extends AEnvironmentAwareController { } } - if ($room->getLobbyState() === Webinary::MODERATORS_ONLY && + if ($room->getLobbyState() === Webinary::LOBBY_NON_MODERATORS && !$currentParticipant->hasModeratorPermissions()) { // No participants and chat messages for users in the lobby. return $roomData; |