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:
Diffstat (limited to 'lib/Manager.php')
-rw-r--r--lib/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Manager.php b/lib/Manager.php
index 4777142ee..e6efc5345 100644
--- a/lib/Manager.php
+++ b/lib/Manager.php
@@ -347,7 +347,7 @@ class Manager {
$allowedRoomTypes = [Room::GROUP_CALL, Room::PUBLIC_CALL];
$allowedListedTypes = [Room::LISTABLE_ALL];
if (!$this->isGuestUser($userId)) {
- $listedType[] = Room::LISTABLE_USERS;
+ $allowedListedTypes[] = Room::LISTABLE_USERS;
}
$query = $this->db->getQueryBuilder();
$query->select('r.*')