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:
authorVincent Petry <vincent@nextcloud.com>2020-12-11 12:56:58 +0300
committerVincent Petry <vincent@nextcloud.com>2020-12-11 20:15:53 +0300
commit549e9ecbd0e7e6b3bc8392fee5d8c53ba1e27d8f (patch)
tree1314d0a41343e5c80007797375f1a5221f0e0b5a /lib/Service
parent4d4a4847b28a09594bc8b28488fa803c8f4738db (diff)
Small adjustments to listable feature after reviews
Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/ParticipantService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index 042f98795..baf7b6b18 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -178,7 +178,7 @@ class ParticipantService {
$room->getListable() === Room::LISTABLE_ALL || (
$room->getListable() === Room::LISTABLE_USERS &&
// queried here to avoid loop deps
- !\OC::$server->query(\OCA\Talk\Manager::class)->isGuestUser($user->getUID())
+ !\OC::$server->get(\OCA\Talk\Manager::class)->isGuestUser($user->getUID())
)
)
) {