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:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-28 11:06:21 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-08-28 11:28:30 +0300
commit8745fd19fe6c36a9b6d5b7f45abe3c53ed7a2798 (patch)
treeac311bb103fd4afd40865baeb85cc57e6fcb7d3d /lib/Middleware
parent0e4fcbbf6b4eec0fe7d11c27f475d91f743bb2c2 (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/Middleware')
-rw-r--r--lib/Middleware/InjectionMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Middleware/InjectionMiddleware.php b/lib/Middleware/InjectionMiddleware.php
index bb22620fc..86be24691 100644
--- a/lib/Middleware/InjectionMiddleware.php
+++ b/lib/Middleware/InjectionMiddleware.php
@@ -174,7 +174,7 @@ class InjectionMiddleware extends Middleware {
}
$room = $controller->getRoom();
- if (!$room instanceof Room || $room->getLobbyState() !== Webinary::ALL_PARTICIPANTS) {
+ if (!$room instanceof Room || $room->getLobbyState() !== Webinary::LOBBY_NONE) {
throw new LobbyException();
}
}