Skip to content

Commit

Permalink
No limit in the number of group shares
Browse files Browse the repository at this point in the history
By default, autoaccept doesn't work if the user has more than 50 group shares
  • Loading branch information
goyome authored Jul 8, 2021
1 parent 57e669e commit 81eeff9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,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 81eeff9

Please sign in to comment.