diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-15 19:35:05 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-07-15 19:51:00 +0300 |
commit | ad08968e3958031b2af251c0923aa000bdbabbaf (patch) | |
tree | 52bdabbbfdbdd8e46944584f122263b47a659509 | |
parent | 5cb2fa2bc9e4de6b71a48ec45d853077ac251d65 (diff) |
Fix local detection for global scale setup
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Service/ParticipantService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php index 66df1f220..fd41bbcc8 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; } } |