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
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-07-15 19:35:05 +0300
committerJoas Schilling <coding@schilljs.com>2021-07-15 19:35:05 +0300
commit4cab78438115af58f3718b1e92e4da9182fd98ac (patch)
treebdd5ee421918c3c92df0fc2cdb4eb60dc7bc6c55 /lib
parent85b477aa67be084eb1ff5f2bd02cf9780da5edb7 (diff)
Fix local detection for global scale setup
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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 457937bed..be27b16ed 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -413,7 +413,7 @@ class ParticipantService {
// FIXME use \OCA\Circles\Manager::getLink() in the future
$membersInCircle = $circle->getInheritedMembers();
foreach ($membersInCircle as $member) {
- if ($member->getUserType() === Member::TYPE_USER && $member->getUserId() === $userId) {
+ if ($member->isLocal() && $member->getUserType() === Member::TYPE_USER && $member->getUserId() === $userId) {
return $circle;
}
}