mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Merge pull request #30308 from nextcloud/backport/30281/stable21
[stable21] Ignore non-existing groups when notifying group shares
This commit is contained in:
commit
e259f6e20e
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,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