diff --git a/lib/BackgroundJob.php b/lib/BackgroundJob.php index a1c9a970..b2aa0fc0 100644 --- a/lib/BackgroundJob.php +++ b/lib/BackgroundJob.php @@ -123,6 +123,7 @@ protected function createPublicity(Announcement $announcement, array $publicity) if (\in_array('everyone', $groups, true)) { $this->createPublicityEveryone($announcement->getUser(), $event, $notification, $publicity); } else { + $this->notifiedUsers = []; $this->createPublicityGroups($announcement->getUser(), $event, $notification, $groups, $publicity); } }