Bladeren bron
Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group
Ignore non-existing groups when notifying group shares
tags/v24.0.0beta1
Vincent Petry
2 jaren geleden
bovenliggende
commit
e231338876
No account linked to committer's email address
|
|
@@ -192,7 +192,7 @@ class Notifier implements INotifier { |
|
|
|
} |
|
|
|
|
|
|
|
$group = $this->groupManager->get($share->getSharedWith()); |
|
|
|
if (!$group->inGroup($user)) { |
|
|
|
if ($group === null || !$group->inGroup($user)) { |
|
|
|
throw new AlreadyProcessedException(); |
|
|
|
} |
|
|
|
|