diff options
Diffstat (limited to 'lib/Manager.php')
-rw-r--r-- | lib/Manager.php | 2 |
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.*') |