diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-09-22 15:31:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 15:31:19 +0300 |
commit | 5d3f32b4b355b22671c15268c5e59b2ea31687a3 (patch) | |
tree | 32806214ddbef98761f95e422a8ad430dd0a827d | |
parent | 491df306f895f0ed08d92a5abe752772119156b2 (diff) | |
parent | 78f8e891df51b6cd11686f19a25782876324d6c7 (diff) |
Merge pull request #396 from nextcloud/backport/394/stable21
[stable21] Fixed the case when multiple announcements are added for the same gro…
-rw-r--r-- | lib/BackgroundJob.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/BackgroundJob.php b/lib/BackgroundJob.php index a1c9a97..b2aa0fc 100644 --- a/lib/BackgroundJob.php +++ b/lib/BackgroundJob.php @@ -123,6 +123,7 @@ class BackgroundJob extends QueuedJob { if (\in_array('everyone', $groups, true)) { $this->createPublicityEveryone($announcement->getUser(), $event, $notification, $publicity); } else { + $this->notifiedUsers = []; $this->createPublicityGroups($announcement->getUser(), $event, $notification, $groups, $publicity); } } |