mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group
Ignore non-existing groups when notifying group shares
This commit is contained in:
commit
e231338876
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