diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-09-22 15:31:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 15:31:37 +0300 |
commit | ff94dbd486aef9177e8f5ad90d648391678f8b79 (patch) | |
tree | 3e4d6cea55727c498fb3983baa81db7db0f4259c | |
parent | 907dac45f0d04b18300ceb79aeb5a72808cce1e1 (diff) | |
parent | 286955516e579a29a5a4809ed20b88194b15a35b (diff) |
Merge pull request #397 from nextcloud/backport/394/stable20backport/398/stable2
[stable20] 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); } } |