Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App.php')
-rw-r--r--lib/App.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App.php b/lib/App.php
index a7cfcc0..8b0555e 100644
--- a/lib/App.php
+++ b/lib/App.php
@@ -78,8 +78,8 @@ class App implements IDeferrableApp {
$this->push->deferPayloads();
}
foreach ($deleted as $user => $notifications) {
- foreach ($notifications as $notificationId) {
- $this->push->pushDeleteToDevice($user, $notificationId);
+ foreach ($notifications as $data) {
+ $this->push->pushDeleteToDevice($user, $data['id'], $data['app']);
}
}
if (!$isAlreadyDeferring) {