Skip to content

Commit fa31256

Browse files
fix: missing push notifications
Signed-off-by: Luka Trovic <[email protected]>
1 parent c590c25 commit fa31256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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')));

0 commit comments

Comments
 (0)