mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
Merge pull request #30306 from nextcloud/backport/30281/stable23
[stable23] Ignore non-existing groups when notifying group shares
This commit is contained in:
commit
2217abfa44
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue