From c078e3c241ff5e574c696fb9a8c1a54a9c73735a Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Mon, 22 Sep 2025 20:24:46 +0200 Subject: [PATCH] fix: missing push notifications Signed-off-by: Luka Trovic --- lib/Notification/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index e0dd92e49..7e7ea0c59 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -77,7 +77,7 @@ class Notifier implements INotifier { */ public function prepare(INotification $notification, string $languageCode): INotification { $l = $this->l10nFactory->get('deck', $languageCode); - if ($notification->getApp() !== 'deck') { + if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') { throw new UnknownNotificationException(); } $notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));