Skip to content

Commit

Permalink
Update UserAddedToGroupListener.php
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume COLSON <[email protected]>
  • Loading branch information
goyome committed Jul 15, 2021
1 parent f93fb22 commit 44f4023
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function handle(Event $event): void {
}

// Get all group shares this user has access to now to filter later
$shares = $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP);
$shares = $this->shareManager->getSharedWith($user->getUID(), IShare::TYPE_GROUP, null, -1);

foreach ($shares as $share) {
// If this is not the new group we can skip it
Expand Down

0 comments on commit 44f4023

Please sign in to comment.