diff options
Diffstat (limited to 'lib/App.php')
-rw-r--r-- | lib/App.php | 4 |
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) { |