diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-02 14:22:01 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-11 20:15:48 +0300 |
commit | 353206e1e695d531f2a51003ac93cfc3cd669bce (patch) | |
tree | 3b29ffeabce403a08033bf86517af956a278af22 /lib/Manager.php | |
parent | f4d26223b3d22ecf2435c67adccf05629102be7f (diff) |
Adjust approach for search results for listable rooms
Added "/listable-room" endpoint for listing listable rooms with a similar
result format like the "/room" endpoint.
Switched left sidebar to use Conversation components for displaying
results.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
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.*') |