Skip to content

Commit 094efda

Browse files
Merge pull request #7255 from nextcloud/fix-missing-push-notifications
fix: missing push notifications
2 parents c590c25 + 161003f commit 094efda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function getName(): string {
7777
*/
7878
public function prepare(INotification $notification, string $languageCode): INotification {
7979
$l = $this->l10nFactory->get('deck', $languageCode);
80-
if ($notification->getApp() !== 'deck') {
80+
if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') {
8181
throw new UnknownNotificationException();
8282
}
8383
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
81373
1+
82773

0 commit comments

Comments
 (0)